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
  Errors in Built Application in CurvySplineSegment TdayMFG 7 4,100 04-13-2025, 09:24 AM
Last Post: _Aka_
  Disabling Overlay nichstkann 1 1,679 12-15-2023, 10:09 AM
Last Post: _Aka_
  Custom CurvySplineSegment prefabs Lupos 1 1,816 10-02-2023, 09:36 AM
Last Post: _Aka_
  IndexOutOfRangeException in CurvySplineSegment.LocalFToDistance billowe 2 2,964 09-06-2022, 06:09 AM
Last Post: sambutle

Forum Jump: