Search Issue Tracker

Duplicate

Votes

0

Found in

2018.4

2018.4.26f1

Issue ID

1339230

Regression

No

[Editor] Crash on ImmediatePtr when exiting Play Mode

Scene Management

-

How to reproduce:
1. Open the attached project "RoguelikeCardGame.zip"
2. Press Play
3. Press Play again to stop the Play Mode

Expected result: The Play mode stops
Actual result: The Editor crashes

Reproducible with: 2018.4.35f1
Not reproducible with: 2019.4.28f1, 2020.1.0a1, 2020.3.10f1, 2021.1.10f1, 2021.2.0a19

Stacktrace:
0x0000000140144556 (Unity) ImmediatePtr<Unity::Component>::operator*
0x00000001409612A5 (Unity) PreDestroyRecursive
0x00000001409612B0 (Unity) PreDestroyRecursive
0x000000014095D652 (Unity) DestroyObjectHighLevel_Internal
0x000000014095D490 (Unity) DestroyObjectHighLevel
0x00000001409E2BA1 (Unity) DestroyWorldObjects
0x0000000140EE1991 (Unity) EditorSceneManager::RestoreSceneBackups
0x00000001413B1BE5 (Unity) PlayerLoopController::ExitPlayMode
0x00000001413BDD26 (Unity) PlayerLoopController::SetIsPlaying
0x00000001413C0CB1 (Unity) Application::TickTimer
0x000000014151F894 (Unity) MainMessageLoop
0x000000014152159D (Unity) WinMain
0x0000000142530F4A (Unity) __scrt_common_main_seh
0x00007FFA346A7034 (KERNEL32) BaseThreadInitThunk
0x00007FFA352E2651 (ntdll) RtlUserThreadStart

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.