Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creting SplineControllers thru code generating errors
#2
Hi,
Indeed, I could reproduce the issue. It seems that when you instantiate CurvyController from code, its members that are events are not set to a non null value. This is not the case for controllers instantiated through the Unity editor. I will take a look at this very soon, and will keep you updated. Until then, if events are not something you use, you can either comment the lines that throw the error, or add a ? before the Invoke call, like this:
someEvent?.Invoke(someEventArguments);
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.
Reply


Messages In This Thread
RE: Creting SplineControllers thru code generating errors - by _Aka_ - 05-26-2020, 09:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unity 6.5 Errors ricke 2 892 07-04-2026, 01:05 AM
Last Post: ricke
  Errors in Built Application in CurvySplineSegment TdayMFG 7 4,133 04-13-2025, 09:24 AM
Last Post: _Aka_
  Updated package in 2022 LTS resulted in multiple errors scr33ner 2 2,098 01-13-2025, 09:32 AM
Last Post: _Aka_
  Small errors in end tangents, by davelloyd _Aka_ 0 1,173 01-07-2025, 11:14 AM
Last Post: _Aka_

Forum Jump: