Search Issue Tracker
Fixed
Fixed in 2021.3.14f1, 2022.1.15f1, 2022.2.0b4, 2023.1.0a1
Unknown (hidden) 2020.3.X
Votes
0
Found in
2020.3.33f1
2021.3.0f1
2022.1.0b15
2022.2.0a10
Issue ID
UUM-661
Regression
No
Crash on mono_class_is_subclass_of_internal when having ISerializationCallbackReceivers on a specific struct
Reproduction steps:
1. Open the user's attached project
2. Open "Assets/Ouroboros/Battle Board/Scenes/Battle Board" scene
3. Enter Play Mode
Expected result: Editor enters Play Mode successfully
Actual result: Editor crashes
Reproducible with: 2019.4.38f1, 2020.3.33f1, 2021.2.19f1, 2021.3.0f1, 2022.1.0b15, 2022.2.0a10
Note:
- also reproduces when clicking on any GameObject from "Cell Container" in the Hierarchy
First lines of stacktrace:
0x00007ff9af9fd3fd (mono-2.0-bdwgc) \[class.c:3530] mono_class_is_subclass_of_internal
0x00007ff9afaf8133 (mono-2.0-bdwgc) \[external-only.c:319] mono_class_is_subclass_of
0x00007ff658d7e07d (Unity) scripting_class_is_subclass_of
0x00007ff658de1d7c (Unity) ManagedReferencesTransferState::RegisterReference
0x00007ff658d9c492 (Unity) RemapPPtrTransfer::Transfer<ArrayOfManagedReferencesTransferer>
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 2023.1.0a1):
Avoid crash and log error message when struct assigned to SerializeReference field