Search Issue Tracker
Won't Fix
Votes
0
Found in
2020.3
2020.3.6f1
2021.1
2021.2
Issue ID
1342153
Regression
No
Editor crashes when Deserializing a Filestream
Reproduction steps:
1. Open user attached Project
2. Open Assets\Scenes\Combat Scene
3. Press Play
Expected result: Scene is loaded
Actual result: The Editor crashes
Reproducible with: 2020.3.13f1, 2021.1.12f1, 2021.2.0b1
Could not test with: 2019.4 (Could not downgrade)
Notes:
Commenting out lines 45 and 63 in SaveSystem.cs prevents the crash
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (2022.1.X):
Crash is due to a corrupt asset that was serialized. Unfortunately the asset in question was correct enough to pass the deserialization checks without throwing a SerializationException while still being able to take down the editor with a crash. Unfortunately the fix for this would require a substantial amount of time for a rare scenario and will revisit this if this happens again.