Search Issue Tracker
Duplicate
Votes
1
Found in
2020.3
2021.1
2021.1.16f1
2021.2
2022.1
Issue ID
1354980
Regression
No
Editor crashes on SerializedFile::ReadObject when opening the project
Reproduction steps:
1. Open the attached project from the google drive link
2. Go to Assets > Reimport All
Reproducible with: 2020.3.16f1, 2021.1.16f1, 2021.2.0b6, 2022.1.0a2
Not reproducible with: 2022.1.0a3
Could not test with: 2019.4.29f1 (Due to various errors while downgrading)
First lines of the stacktrace:
0x00007ff61f89eed4 (Unity) SerializedFile::ReadObject
0x00007ff61f8834d1 (Unity) PersistentManager::ReadAndActivateObjectThreaded
0x00007ff61f881615 (Unity) PersistentManager::LoadObjectsThreaded
0x00007ff61f881354 (Unity) PersistentManager::LoadObjects
0x00007ff6201bd448 (Unity) ReloadNativeSourceAssets
Notes:
- The 2nd step is only needed when the project doesn't crash when opening
- Seems that "RockNew.physicMaterial.meta" and "RockNew.physicMaterial" might be the reason why the project crashes.
- Adding these two files to a new project doesn't produce the issue
- There were different stacktraces from testing on different versions
- Was not able to reproduce the issue from 2022.1.0a3 and higher, but it might be related to corrupted files
Comments (1)
-
fsedarkalex
Aug 05, 2021 16:05
I am the reporter of this issue.
The crash must somehow be tied to the GUID because I tried to recreate the physics material and manually patched the GUID in the .meta file -> got the same issue again with this new file.
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
- AI Assistant fails to load account information when AI assistant is opened
- [Linux] Improve "GPUResidentDrawer" warning message to include actionable guidance when creating a new Unity project using Universal 3D Template
- "Error Pause", Player logging, and the searchbar tools disappear when the Console window is below 420px width
- “'Object.FindObjectOfType<T>()' is obsolete: 'Object.FindObjectOfType has been deprecated” warning displays incorrect deprecated method replacement
- World Space UI element is invisible near the camera in Prefab Edit Mode when the Canvas has a non-default Z position
This is a duplicate of issue #1338910