Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Deactivating the obi solver when not needed ?
#11
(14-05-2021, 11:05 AM)josemendez Wrote: Nope, can't reproduce :/. The Crane sample scene also has one dynamic attachment, and the FrightLift scene has 4, neither of them trigger this error. Also tried other scenes done specifically for this, but no luck. As I mentioned, disabling the solver simply stops updating the simulation, but the data layout is untouched. An out of bounds exception in this case doesn't make any sense to me, there must be something else going on that's triggering this. Here's a video of me testing it:





Make sure there's no inspectors in debug mode. In debug mode, Unity won't draw scene view windows (such as, but not limited to, the rope path editor). Easiest way to ensure this is to revert to the default layout (Window->Layouts->Revert factory settings).

Thank you so much for taking the time to do all of this, I think I understand what we did differently : You launch the game and then pause the solver, whereas I actually stop it in the start function of a script. (i do get the error in the sample scenes this way)

I should point out that the error goes away once i activate it once, even if I disable it again. So trying disabling it via script in the start(), and you should get the same error with attachments.

The layout thing fixed it yay, thanks.
Reply


Messages In This Thread
RE: Deactivating the obi solver when not needed ? - by VincentAbert - 14-05-2021, 11:49 AM