Search Issue Tracker
Duplicate
Votes
1
Found in
2019.3
2019.4
2019.4.4f1
2020.1
2020.2
Issue ID
1265045
Regression
No
Crash on scripting_class_is_subclass_of when trying to display corrupted data from JsonUtility when using SerializeReference
Reproduction steps:
1. Open the attached project ("1265045.zip")
2. Open scene "TestJsonRead"
3. Enter Play mode
4/5. Press the "Start" button in Game View
4/5. Select "Canvas" GameObject in The Hierarchy so it's properties would be displayed in the Inspector
(4th and 5th steps can be interchangeable)
Reproducible with: 2019.3.16f1, 2019.4.8f1, 2020.1.2f1, 2020.2.0a20
Couldn't test with: 2018.4.26f1 due to compilation errors and SerializeReference was introduced in 2019.3
First lines of the stacktrace:
0x00007ff6639834aa (Unity) scripting_class_is_subclass_of
0x00007ff662251313 (Unity) ManagedReferencesRegistry::RegisterReference
0x00007ff6639c570b (Unity) StreamedBinaryWrite::TransferWithTypeString<ArrayOfManagedReferencesTransferer>
0x00007ff6639d92f1 (Unity) Transfer_ManagedObjectRef<StreamedBinaryWrite,1>
0x00007ff6639b40ac (Unity) TransferField_LinearCollection<ReportScriptingObjectsTransfer>
Notes:
- Might crash silently
- Before the crash this assertion failure might show up in Editor logs:
"* Assertion at ..\mono\metadata\class.c:8919, condition `ac->rank' not met"
- Doesn't always crash, but consistent enough to investigate
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
This is a duplicate of issue #1198073