Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disabling a CurvySplineSegment results in NullRefException
Disabling a CurvySplineSegment gameobject via gameObject.SetActive(false)

and then clicking the editor results in this null ref error. 

I also noticed its not possible to disable CurvySplineSegments in the editor because the CurvySpline seems to override that. So the only way is via code with results in this error

[Image: NnAaeFk.png]
Hi. An enabled spline needs that its control points be enabled too. Disabling the CPs should not throw those null reference errors though. I will investigate this:
1- Can you tell me what version of Curvy Splines do you use?
2- What were the reproduction steps?

Also, can you please tell me in what use case you want to disable the control points without disabling the whole done?
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Disabling Overlay nichstkann 1 2 12-15-2023, 10:09 AM
Last Post: _Aka_
  Custom CurvySplineSegment prefabs Lupos 1 10 10-02-2023, 09:36 AM
Last Post: _Aka_
  IndexOutOfRangeException in CurvySplineSegment.LocalFToDistance billowe 2 753 09-06-2022, 06:09 AM
Last Post: sambutle
Brick Delete CurvySplineSegment from the start of a Spline causes UV's to change studentloan 5 7 06-14-2022, 03:14 PM
Last Post: _Aka_

Forum Jump: