Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to convert GUI point to world ray if a camera has not been set up!
#1
Code:
Unable to convert GUI point to world ray if a camera has not been set up!
UnityEditor.HandleUtility:GUIPointToWorldRay(Vector2)
CurvySplineSegmentInspector:InsBefore() (at Assets/Curvy/Editor/CurvySplineSegmentInspector.cs:492)
CurvySplineSegmentInspector:DoWin(Int32) (at Assets/Curvy/Editor/CurvySplineSegmentInspector.cs:420)
UnityEditor.DockArea:OnGUI()


I get this error when using Ins Before and After, on the first and final spline segment respectively.
I'm not sure what the intended behaviour in those cases is, but extrapolating out in the direction of the tangent (?) seems like it'd be reasonable.

Also looking forward to the undo bug and warnings being fixed!

e:
Forgot to mention, this is only the case with an open spline. Closed splines don't suffer from it.
Reply


Messages In This Thread
Unable to convert GUI point to world ray if a camera has not been set up! - by Petethegoat - 01-27-2014, 05:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Control Point Interpolation Overrides. rickgplus 1 525 12-11-2025, 08:52 AM
Last Post: _Aka_
  12_Train junction point richardzzzarnold 5 3,408 04-16-2025, 02:19 PM
Last Post: _Aka_
  OnAfterControlPointAdded - Control Point is null jh092 5 3,178 02-04-2025, 09:31 PM
Last Post: _Aka_
  How to generate gameobject on the control point Yang Yi 1 1,609 12-10-2024, 10:14 PM
Last Post: _Aka_

Forum Jump: