Search Issue Tracker
Fixed
Fixed in 6000.0.20f1
Votes
1
Found in
6000.0.13f1
6000.1.0a7
7000.0.0a1
Issue ID
UUM-76840
Regression
Yes
Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Reproduction steps:
1. Open the attached “ReproProj” project
2. Open the “Campaign1.unity“ scene
3. Enter the Play Mode and wait a few seconds
4. Pause the Play Mode
5. Exit the Play Mode
6. Repeat the 3rd step
Expected result: The Play Mode is entered
Actual result: The Editor crashes
Reproducible with: 6000.0.8f1, 6000.0.13f1
Not reproducible with: 6000.0.7f1
Couldn’t test with: 2021.3.41f1, 2022.3.40f1 (asset error)
Reproducible on: macOS 14.5 (M1 Max), Windows 10
Not reproducible on: No other environment tested
Note: On some tested versions, crashes on the 3rd step
The first few lines of the stack trace:
#0 0x0000010430ad6c in WriteSerializedAssetsV2(core::hash_set<UnityGUID, core::hash<UnityGUID>, std::__1::equal_to<UnityGUID>> const&, core::hash_set<UnityGUID, core::hash<UnityGUID>, std::__1::equal_to<UnityGUID>>&)
#1 0x000001042dbff0 in AssetDatabase::WriteRevertAssets(core::hash_set<UnityGUID, core::hash<UnityGUID>, std::__1::equal_to<UnityGUID>> const&, core::hash_set<UnityGUID, core::hash<UnityGUID>, std::__1::equal_to<UnityGUID>> const&)
#2 0x000001042dba6c in AssetDatabase::SaveAssets()
#3 0x00000102462534 in AssetDatabase_CUSTOM_SaveAssets()
#4 0x000004869b7030 in (wrapper managed-to-native) UnityEditor.AssetDatabase:SaveAssets () [{0x395edce50} + 0x58] (0x4869b6fd8 0x4869b7084) [0x35188aa80 - Unity Child Domain]
#5 0x000004869b46a4 in Unity.AppUI.Editor.AppUISetup:.cctor () [{0x356c05368} + 0xbc] [./Library/PackageCache/com.unity.dt.app-ui/Editor/AppUISetup.cs :: 23u] (0x4869b45e8 0x4869b46c4) [0x35188aa80 - Unity Child Domain]
#6 0x000004869b4990 in (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr) [{0x395ef1ef8} + 0x68] (0x4869b4928 0x4869b4a18) [0x35188aa80 - Unity Child Domain]
#7 0x00000351c57750 in mono_jit_runtime_invoke
Comments (5)
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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
mitaywalle
Oct 02, 2024 16:26
error appear after importing Behaviour Graph package (and AppUI as dependency)