Search Issue Tracker

In Progress

Fix In Review for 6000.0.20f1

Votes

0

Found in

6000.0.17f1

Issue ID

UUM-79618

Regression

Yes

Crash on PhysicsDebugDraw::SelectFiltering::Update when entering play mode with Physics Debug window docked and unfocused

--

-

Reproduction steps:
1. Create a new 3D project
2. Open the Physics Debug window (Window > Analysis > Physics Debugger)
3. Dock the window next to another tab
4. Focus the other tab over it so the Physics Debug window is not visible
5. Enter the Play mode

Expected result: Play mode starts
Actual result: Editor crashes

Reproducible with: 6000.0.17f1
Not reproducible with: 2021.3.43f1, 2022.3.46f1, 6000.0.16f1

Reproducible on: Windows 11
Not reproducible on: No other environment tested

Workarounds:
Close the Physics Debug window
leave it as the focused tab
undock it

First few lines of stack trace:

{noformat}0x00007FFF29B7D61E (Unity) PhysicsDebugDraw::SelectFiltering::Update
0x00007FFF27F82250 (Unity) PhysicsDebugDraw_CUSTOM_UpdateFilter
0x000001FAC78BEB17 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.PhysicsDebugDraw:UpdateFilter ()
0x000001FAC78BEA6B (Mono JIT Code) UnityEditor.PhysicsDebugWindow:OnSceneClose (UnityEngine.SceneManagement.Scene)
0x000001FAC78BE79C (Mono JIT Code) UnityEditor.SceneManagement.EditorSceneManager:Internal_SceneClosed (UnityEngine.SceneManagement.Scene)
0x000001FAC78BE982 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_Scene (object,intptr,intptr,intptr)
0x00007FFF1826697E (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:3445] mono_jit_runtime_invoke {noformat}

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.