Ever since upgrading to 5.1 (and redoing all my ropes), I've gotten tons of error whenever I end playmode.
In the beginning i didn't think much of it, but now that other weird stuff is starting to happen* I wanted to start by fixing these.
*the weird thing: (for some reason newly created ropes only works for a few minutes, then they won't update with the path, and then they completely disappear - no line/mesh/particle renderer works)
Here's the errors:
Getting one of these for each rope:
and a set of these for each rope:
This happens if i move the broken rope into a new solver - the solver says 103 particles are used - change resolution doesn't affect it. Looks like the rope is not subscribed to the solver.
In the beginning i didn't think much of it, but now that other weird stuff is starting to happen* I wanted to start by fixing these.
*the weird thing: (for some reason newly created ropes only works for a few minutes, then they won't update with the path, and then they completely disappear - no line/mesh/particle renderer works)
Here's the errors:
Getting one of these for each rope:
Code:
NullReferenceException: Object reference not set to an instance of an object
Obi.ObiRope.RebuildConstraintsFromElements () (at Assets/Obi/Scripts/RopeAndRod/Actors/ObiRope.cs:254)
Obi.ObiRopeCursor.ChangeLength (System.Single newLength) (at Assets/Obi/Scripts/RopeAndRod/Actors/ObiRopeCursor.cs:240)
Code:
Can't remove ObiRope (Script) because ObiPathSmoother (Script), ObiParticleRenderer (Script), ObiParticleAttachment (Script), ObiParticleAttachment (Script), ObiRopeCursor (Script) depends on it
Can't remove ObiPathSmoother (Script) because ObiRopeLineRenderer (Script) depends on it
This happens if i move the broken rope into a new solver - the solver says 103 particles are used - change resolution doesn't affect it. Looks like the rope is not subscribed to the solver.