Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Occasional freezes when activating an Obi Solver
#8
(10-12-2019, 08:48 AM)josemendez Wrote: Hi,

The crash log does not contain anything related to Obi. Seems to break at:

* Assertion at ..\mono\metadata\threads.c:1788, condition `internal' not met

This is a known bug in Unity:
https://issuetracker.unity3d.com/issues/...gettexture

According to this report, disabling 'Error Pause' in the console would avoid triggering the bug:
https://issuetracker.unity3d.com/issues/...is-enabled

Thanks for the reply, Jose. That was indeed the crash.

However, I'm still having freezes that occur in certain scenes. The only way to fix it seems to be to delete the existing object containing an ObiSolver and ObiFixedUpdater and create a new one.

For example, I just had a Unity crash when I modified a script while in play mode. This seems to have somehow corrupted that scene file such that it would freeze (but not crash) the editor 100% of the time when I subsequently tried to enter play mode. I tried deleting my Library folder, but this did not help. The only thing that fixed it was to delete the ObiSolver/Updater object and then recreate it, re-adding my child objects to this new object. Something like this has happened to me several times.

****UPDATE*****
Upon further inspection, it seems that I get a freeze in any scene that doesn't have an Obi physics object (rope or emitter) under the obi solver. This seems to be the crux of the issue. I am dynamically creating them later based on user input, rather than having a fixed scene.
Reply


Messages In This Thread
RE: Occasional freezes when activating an Obi Solver - by Dissident Dan - 11-12-2019, 03:17 PM