Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2019.4.X, 2020.2.X, 2021.1.X

Votes

1

Found in

2019.3.15f1

2019.4.1f1

Issue ID

1259765

Regression

No

[Wild Crash] Editor crashes on mono_aot_get_cached_class_info when GizmoSetup has cached an outdated data

Scene/Game View

-

Reproduction steps:
1. Open attached "MyFirstGame.zip" project
2. Open Build Settings
3. Switch Platform to WebGL
-- Observe the crash

Users reproduced this issue with: 2019.3.15f1, 2019.4.0f1, 2019.4.1f1

First lines of the stack trace:
0x00000000623F7A05 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\mini\aot-runtime.c:2507] mono_aot_get_cached_class_info
0x000000006223BD30 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\class.c:5039] mono_class_init
0x000000006223CB4A (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\class.c:8175] mono_class_is_subclass_of
0x0000000142A01640 (Unity) scripting_class_has_parent
0x0000000140C6D958 (Unity) CanForwardMonoBehaviourDrawGizmo
<...>

  1. Resolution Note (fix version 2021.1):

    Fixed in: 2021.1.0b12

  2. Resolution Note (fix version 2019.4):

    Fixed in: 2019.4.21f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.