28-01-2020, 05:00 PM
(28-01-2020, 04:45 PM)TheMunk Wrote: I have never written any scripts that removes or destroys an Obi Component. The only thing i had (before upgrading to 5.x) was a script to disable a solver - but that's not in use anymore.
All ropes and rods are childed under solvers.
However, I fixed the error (in my update) by checking if the rope and the cursor is enabled;
Code:if(rope && cursor)
cursor.ChangeLength(rope.restLength + change);
This tells me that something is disabling the cursor/rope when I stop play mode (before the last update is run), but I can't figure out what it is.
Are you able to reproduce this in a fresh project, with only Obi 5.1 installed?