Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems by upgrading from Curvy 2.2.2 to 2.2.4.1
#1
Unity 2017.4.2f2
Scripting Runtime Version: Stable (.NET 3.5)
API Compatibility Level: .NET 2.0 Subset

Feature not available

In Visual Studio, CurvySplineSegment.cs, when starting VS debugger I get:
Code:
CS8025 Feature `readonly automatically implemented properties` is not available in C# 4. Please use language version 6 or grater
Unity compiles without errors.

[Image: 46QXLEX.png]

InputSplineShape Range reset on enter play mode

When entering play mode, m_StartCP  and m_EndCP in SplineInputModuleBase.cs are set to null and stay null after exiting play mode.
From what I found, it's directly caused by StartCP.Spline being null when assigning shape in InputSplineShape.OnValidate().
My temporary workaround:

[Image: VjuOBkp.png]

EDIT: Related Unity errors:

[Image: sS9jmdp.png]
Reply


Messages In This Thread
Problems by upgrading from Curvy 2.2.2 to 2.2.4.1 - by metroidsnes - 05-05-2018, 08:56 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Using Unity's SplineContainer in Curvy Splines dlees9191 3 12 02-26-2024, 09:49 AM
Last Post: _Aka_
  Curvy in Unreal Engine SAMYTHEBIGJUICY 4 7 02-02-2024, 12:12 PM
Last Post: _Aka_
  Curvy discards Input Spline Range VoltDriver 3 5 11-28-2023, 07:14 PM
Last Post: _Aka_
  Problematic Curvy API XtroTheArctic 8 24 10-16-2023, 08:41 AM
Last Post: _Aka_

Forum Jump: