Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.3.X, 2022.1.X
Votes
0
Found in
2021.2
2021.2.1f1
2022.1
Issue ID
1378713
Regression
No
[M1] Crash with * Assertion at handle.c:446, condition `m_class_is_valuetype (klass)' not met when deserializing data
Reproduction steps:
1. Open the user's attached project and scene "Main Menu"
2. Enter play mode
3. Press the "Multiplayer Arena" button
Expected result: Editor loads the Multiplayer Arena scene
Actual result: Editor crashes
Reproducible with: 2021.2.7f1, 2022.1.0b2
Could not test with: 2019.4.34f1, 2020.3.25f1 (compiler errors when downgrading project)
Crashes when executing line 83 in SaveSystem.cs:
PlayerData data = formatter.Deserialize(stream) as PlayerData;
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
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a9
A patch has been applied to our fork of Mono to avoid the Editor crash when deserializing errors occur. The runtime will now throw a managed exception.
https://github.com/Unity-Technologies/mono/pull/1549
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.4f1