Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disabling a CurvySplineSegment results in NullRefException
#1
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]
Reply


Messages In This Thread
Disabling a CurvySplineSegment results in NullRefException - by Lupos - 09-30-2023, 07:21 AM

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: