Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2022.1.X
Votes
1
Found in
2019.4
2020.2
2020.2.5f1
2020.3
2021.1
2021.2
Issue ID
1316002
Regression
No
Crash with various stack traces when entering Play Mode after restarting the Editor
How to reproduce:
1. Open the attached project ('case-1316002 (2019.4).zip')
2. Open the 'LevelTest' Scene
3. Enter Play Mode
Reproducible with: 2019.4.22f1, 2020.2.7f1, 2020.3.0f1, 2021.1.0b8, 2021.2.0a9
Could not test with: 2018.4 (errors when downgrading)
The crash happens after ISerializeCallbackReceiver.OnBeforeSerialization() calls APIs that trigger cause "on-demand" loading of objects (in this case PrefabUtility.GetPrefabType and PrefabUtility.GetPrefabAssetType)
Workaround:
Edit any Script (or trigger Script recompilation in a different way) and then enter Play Mode (seems to fix the crash until the Editor is restarted)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b12
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.16f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.32f1