Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unity Crash on Curvy Default Event Handler
#2
Will be fixed in 2.0.5, until that edit CurvyDefaultEventHandler.cs and replace/update the below method:

Code:
public static void UseFollowUpStatic(CurvySplineMoveEventArgs e)
       {
           // we need a SplineController as well as a following spline to work with
           if (e.Sender is SplineController && e.ControlPoint.FollowUp)
           {
               var me = e.ControlPoint;
               // Follow the connected spline
               e.Follow(e.ControlPoint.FollowUp, e.ControlPoint.FollowUpHeading);
               // Set the controller to use the new spline
               SplineController controller = (SplineController)e.Sender;
               controller.Spline = e.Spline;
               controller.RelativePosition = e.TF;
               // Handle controller events for the new passed ControlPoint
               if (me.FollowUp && me.FollowUp.FollowUp!=me)
                   controller.OnControlPointReached.Invoke(e);
           }
       }
Reply


Messages In This Thread
RE: Unity Crash on Curvy Default Event Handler - by Jake - 01-03-2016, 01:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unity 6.5 Errors ricke 2 810 07-04-2026, 01:05 AM
Last Post: ricke
  Unity 6 issues Moonbo 4 1,689 11-21-2025, 12:07 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 7 6,981 07-13-2025, 07:11 PM
Last Post: _Aka_
Information New free asset: Converter For Unity Splines _Aka_ 20 13,677 07-19-2024, 05:15 PM
Last Post: _Aka_

Forum Jump: