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
-
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #1338910