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
#2
Hi,
About the readonly automatically implemented properties, I am surprised that Unity's compiler handles it, but not the C# version of the csproj it generates. I will replace those properties with ones using backfields in the next update. I will send you via PM the modified code.
I will take a look at InputSplineShape and will answer you soon.
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#3
Hi again,
About the InputSplineShape issue, it is unfortunately due to a regression introduced in 2.2.4.
I will MP you the files containing the fix, and will push the fix in a 2.2.4.2
Thanks for reporting the bug.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Exclamation Curvy is on sale : -30% until 5/11 23:59 PST _Aka_ 0 53 05-02-2018, 11:30 AM
Last Post: _Aka_
  Curvy 2.2.4 is live _Aka_ 0 55 04-23-2018, 09:39 PM
Last Post: _Aka_
Question Please let me know if you use Curvy Spline Groups. _Aka_ 2 129 04-11-2018, 02:30 PM
Last Post: _Aka_
  Curvy spline to 2D Edge collider _Aka_ 1 157 03-09-2018, 07:23 PM
Last Post: _Aka_

Forum Jump: