Search Issue Tracker

Active

Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X

Votes

0

Found in

2022.3.56f1

6000.0.34f1

6000.1.0b1

Issue ID

UUM-92511

Regression

No

Crash on mono_traverse_object_internal when exiting Play mode on a specific project

--

-

Reproduction steps:
1. Open the attached project "CrashRepro"
2. Enter the Play mode
3. Exit the Play mode
4. Repeat from step 2

Expected result: Play mode starts/stops
Actual result: Editor crashes

Reproducible with: 2022.3.56f1, 6000.0.34f1, 6000.1.0b1

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

Notes: It usually takes about 20 times to enter/exit Playmode to crash. Crash on 6000.0.0b1 took significantly more attempts

First few lines of stack trace:
{noformat}
0x00007FFE1175A5B2 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\unity-liveness.c:388] mono_traverse_object_internal
0x00007FFE1175AE42 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\unity-liveness.c:484] mono_traverse_objects
0x00007FFE1175BD14 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\unity-liveness.c:814] mono_unity_liveness_calculation_from_root
0x00007FF74F010E4E (Unity) ProcessMonoBehaviour
0x00007FF74F00ECF4 (Unity) MarkDependencies
0x00007FF74F00E82F (Unity) MarkAllDependencies{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.