Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Crash after loading a scene
#1
Code:
Obtained 28 stack frames
0x00007ffaa7e87315 (libOni) Ordinal0
0x00007ffaa7ea2edf (libOni) UpdateColliderGrid
0x000001cb2ab65246 (Mono JIT Code) (wrapper managed-to-native) Oni:UpdateColliderGrid (single)
0x000001cb2ab650e3 (Mono JIT Code) [OniColliderWorld.cs:35] Obi.OniColliderWorld:UpdateWorld (single)
0x000001cb2ab61a12 (Mono JIT Code) [ObiColliderWorld.cs:397] Obi.ObiColliderWorld:UpdateWorld (single)
0x000001cb2ab5bcd3 (Mono JIT Code) [ObiUpdater.cs:56] Obi.ObiUpdater:BeginStep (single)
0x000001cb2ab5a75b (Mono JIT Code) [ObiFixedUpdater.cs:46] Obi.ObiFixedUpdater:FixedUpdate ()
0x000001cb25caa378 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007ffa2f44fe24 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ffa2f38e764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007ffa2f38e8fc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff78a3e4db4 (Unity) scripting_method_invoke
0x00007ff78a3c4654 (Unity) ScriptingInvocation::Invoke
0x00007ff78a3ad934 (Unity) MonoBehaviour::CallMethodIfAvailable
0x00007ff78a3ada22 (Unity) MonoBehaviour::CallUpdateMethod
0x00007ff789ea1338 (Unity) BaseBehaviourManager::CommonUpdate<FixedBehaviourManager>
0x00007ff789ea897a (Unity) FixedBehaviourManager::Update
0x00007ff78a0b9856 (Unity) `InitPlayerLoopCallbacks'::`2'::FixedUpdateScriptRunBehaviourFixedUpdateRegistrator::Forward
0x00007ff78a0a0b8a (Unity) ExecutePlayerLoop
0x00007ff78a0a0d16 (Unity) ExecutePlayerLoop
0x00007ff78a0a6b09 (Unity) PlayerLoop
0x00007ff78afeedb9 (Unity) PlayerLoopController::UpdateScene
0x00007ff78afecfbf (Unity) Application::TickTimer
0x00007ff78b43b27a (Unity) MainMessageLoop
0x00007ff78b43fb2b (Unity) WinMain
0x00007ff78c7c421e (Unity) __scrt_common_main_seh
0x00007ffadbd474b4 (KERNEL32) BaseThreadInitThunk
0x00007ffadd4426a1 (ntdll) RtlUserThreadStart

Hello,

We are creating obi rope procedurally, everything works fine. But after loading a new scene or reloading the existing scene, unity editor crashes with above log after creating a new ObiSolver with new blueprints.

We tried destroying obifixedupdate, solver, colliders before loading a new scene but the problem still exists.

We need your assistance.

Best regards.
Reply
#2
(15-11-2022, 02:48 PM)toral Wrote:
Code:
Obtained 28 stack frames
0x00007ffaa7e87315 (libOni) Ordinal0
0x00007ffaa7ea2edf (libOni) UpdateColliderGrid
0x000001cb2ab65246 (Mono JIT Code) (wrapper managed-to-native) Oni:UpdateColliderGrid (single)
0x000001cb2ab650e3 (Mono JIT Code) [OniColliderWorld.cs:35] Obi.OniColliderWorld:UpdateWorld (single)
0x000001cb2ab61a12 (Mono JIT Code) [ObiColliderWorld.cs:397] Obi.ObiColliderWorld:UpdateWorld (single)
0x000001cb2ab5bcd3 (Mono JIT Code) [ObiUpdater.cs:56] Obi.ObiUpdater:BeginStep (single)
0x000001cb2ab5a75b (Mono JIT Code) [ObiFixedUpdater.cs:46] Obi.ObiFixedUpdater:FixedUpdate ()
0x000001cb25caa378 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007ffa2f44fe24 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ffa2f38e764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007ffa2f38e8fc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff78a3e4db4 (Unity) scripting_method_invoke
0x00007ff78a3c4654 (Unity) ScriptingInvocation::Invoke
0x00007ff78a3ad934 (Unity) MonoBehaviour::CallMethodIfAvailable
0x00007ff78a3ada22 (Unity) MonoBehaviour::CallUpdateMethod
0x00007ff789ea1338 (Unity) BaseBehaviourManager::CommonUpdate<FixedBehaviourManager>
0x00007ff789ea897a (Unity) FixedBehaviourManager::Update
0x00007ff78a0b9856 (Unity) `InitPlayerLoopCallbacks'::`2'::FixedUpdateScriptRunBehaviourFixedUpdateRegistrator::Forward
0x00007ff78a0a0b8a (Unity) ExecutePlayerLoop
0x00007ff78a0a0d16 (Unity) ExecutePlayerLoop
0x00007ff78a0a6b09 (Unity) PlayerLoop
0x00007ff78afeedb9 (Unity) PlayerLoopController::UpdateScene
0x00007ff78afecfbf (Unity) Application::TickTimer
0x00007ff78b43b27a (Unity) MainMessageLoop
0x00007ff78b43fb2b (Unity) WinMain
0x00007ff78c7c421e (Unity) __scrt_common_main_seh
0x00007ffadbd474b4 (KERNEL32) BaseThreadInitThunk
0x00007ffadd4426a1 (ntdll) RtlUserThreadStart

Hello,

We are creating obi rope procedurally, everything works fine. But after loading a new scene or reloading the existing scene, unity editor crashes with above log after creating a new ObiSolver with new blueprints.

We tried destroying obifixedupdate, solver, colliders before loading a new scene but the problem still exists.

We need your assistance.

Best regards.

Hi,

Which Obi and Unity versions are you using?

As a note, the stack trace reveals you're using the fallback backend (Oni) which is only used when you haven't installed the required packages. It has poorer platform support than Burst and it is also slower, for these reasons it's been deprecated and will be removed in the next major update. So make sure you've properly installed all required packages as per the manual:
http://obi.virtualmethodstudio.com/manua...setup.html
http://obi.virtualmethodstudio.com/manua...kends.html

kind regards,
Reply
#3
Thank you for your fast reply.

Problem solved after updating ObiRope to 6.5 and installing required packages for using Burst backend.

My Unity version is 2021.3.9f1
Reply