Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OnAfterControlPointAdded - Control Point is null
#4
Do you create your spline via Unity's API or CurvySpline.Create()?

Try calling yourSpline.Start() just after creating your spline.
This method initializes the spline. It is called automatically by Unity at the first frame after the creation of a spline. You need to call it manually if you instantiate a CurvySpline via Unity API (in opposition to calling CurvySpline.Create()), and need to use it the same frame before Unity calls Start() on it the next frame.
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.
Reply


Messages In This Thread
RE: OnAfterControlPointAdded - Control Point is null - by _Aka_ - 02-03-2025, 09:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Control Point Interpolation Overrides. rickgplus 1 725 12-11-2025, 08:52 AM
Last Post: _Aka_
  12_Train junction point richardzzzarnold 5 3,775 04-16-2025, 02:19 PM
Last Post: _Aka_
  Null Reference Exception rickgplus 1 1,598 03-01-2025, 02:09 PM
Last Post: _Aka_
  How to generate gameobject on the control point Yang Yi 1 1,775 12-10-2024, 10:14 PM
Last Post: _Aka_

Forum Jump: