Crash on PersistentManager::ReadObjectThreaded when calling AssetDatabase.ForceReserializeAssets() multiple times in a row
Unity: Asset - Database
Open
6.7.X
6.6.X
6.5.X
6.3.X
6.0.X
2022.3.X
Won't Fix
6.4.X
Unity 6000.4 has reached its end of life and will not receive further updates. If you need additional fixes, please upgrade to a newer Unity version.
How to reproduce:
1. Open the attached “IN-138456” project
2. In the top toolbar, navigate to Assets > ForceReserializeAssets
3. Navigate to Assets > ForceReserializeAssets again
4. Observe the crash
Reproduced on: Windows 11
Not reproduced on: No other environment tested
Notes:
If the crash does not occur after step 3, clear the console window and try again
After calling ForceReserializeAssets the first time, a “Recursive Serialization is not supported“ error and “The resource Cubemaps/CubeBlur.shader could not be loaded from the resource file!“ errors appear in the Console window
First few lines of the stack trace:
0x00007ff79648cf61 (Unity) PersistentManager::ReadObjectThreaded
0x00007ff79648cd1c (Unity) PersistentManager::ReadObject
0x00007ff79704c1f1 (Unity) FindAllAssetsAtPath
0x00007ff797760980 (Unity) AssetDatabase::ReSerializeAssetsForced
0x00007ff795970325 (Unity) AssetDatabase_CUSTOM_ForceReserializeAssets
Prioritise and Follow this issue
Have a workaround or additional info about this issue?