Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Hard crash in build after upgrading from Obi 6 to Obi 7
#1
I'm not really sure where to even start debugging this as there's no issue in the editor (or the editor just handles it less strictly, but no error that I've seen). It doesn't happen 100% of the time either, but sometimes when testing a build as soon as the scene with the obi rope loads the whole application crashes with this stack trace:

SIGTRAP

Obi.BurstColliderWorld:UpdateWorld(Single)
Obi.ObiColliderWorld:UpdateWorld(Single)

[ line 1794985864]
> Size overflow in allocator.

It's not from one specific rope either, it happens seemingly randomly with any rope implementation anywhere in the game. This only started happening after upgrading from Obi 6 to Obi 7.0.5. I followed the upgrade guide with re-generating the blueprints, etc. We're using the Burst back-end for the ropes as we need collisions on the ropes and I couldn't figure out if there was a way to make that work with the GPU-based backend, so I haven't tested the GPU one in a build.

Any idea what could be causing this or how I could debug further?

Unity Version: 2022.3.57 (built-in renderer)
Reply
#2
(02-05-2025, 07:31 PM)goldfire Wrote: I'm not really sure where to even start debugging this as there's no issue in the editor (or the editor just handles it less strictly, but no error that I've seen). It doesn't happen 100% of the time either, but sometimes when testing a build as soon as the scene with the obi rope loads the whole application crashes with this stack trace:

SIGTRAP

Obi.BurstColliderWorld:UpdateWorld(Single)
Obi.ObiColliderWorld:UpdateWorld(Single)

[ line 1794985864]
> Size overflow in allocator.

This is really strange. A SIGTRAP signal is sent when a thread hits a breakpoint while a debugger attached. Furthermore, the stack trace line (1794985864) doesn’t look like a sane value. If I had to guess, this looks like heap corruption, which isn’t typically caused by managed (C#) code.

Have you updated Burst or any of the related packages (jobs, collections, mathematics) along with Obi? If so, which versions of these are you using? Also, is the build you’re testing a regular or a development build?


(02-05-2025, 07:31 PM)goldfire Wrote: We're using the Burst back-end for the ropes as we need collisions on the ropes and I couldn't figure out if there was a way to make that work with the GPU-based backend, so I haven't tested the GPU one in a build.

Collisions work in the Compute backend just like they do in the Burst backend. Feature-wise both backends are equivalent.

Kind regards,
Reply