15-12-2022, 08:00 PM
(15-12-2022, 09:01 AM)josemendez Wrote: Hi!
My guess would be there's multiple particles in the rope that exactly overlap each other. In theory, it should be impossible for this to happen in a rope, so no idea how it got to happen.
This error is thrown when Unity tries to calculate the view direction from one point to another, but both points are the same, so it's impossible to calculate a direction from a point to itself. When drawing gizmos for the cursor, the view direction is calculated to draw the cursor gizmo using the correct orientation.
Try folding the ObiRopeCursor component in the inspector, or disable gizmos for it (in the Scene view's Gizmos menu). This will stop drawing the cursor gizmo and the error should go away. If it does not, would it be possible for you to share a bit more info about your use case/setup?
kind regards
I've disabled the ObiRopeCursor gizmo and haven't experienced the error so far, but it happened so inconsistently that there is a decent chance that it wouldn't have happened so far anyway.