Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.1.X, 2020.2.X
Votes
2
Found in
2019.4
2019.4.0f1
2020.1
2020.2
Issue ID
1262671
Regression
No
Crashes on mono_class_init when entering Play Mode after recompiling scripts
Reproduction steps:
1. Open user's attached project
2. Open scene "MainScene"
3. Open a script in a code editor, modify it to recompile scripts
4. Come back to the editor and enter Play Mode
5. Repeat steps 3-4 (can take10 or more tries)
-- observe crash
Reproducible with: 2019.4.4f1, 2020.1.0b16, 2020.2.0a18
Could not test with: 2018.4.25f1 (errors)
Reproduced using: Visual Studio Code, Rider
Note:
-The crash seems to be reproducible most often when using Visual Studio Code
-
fohoxj
Nov 07, 2022 10:37
it's also happened when entering Prefab Edit Mode. - 2019.4.40f
-
JJaery433
Nov 23, 2020 09:31
it's also happened when entering Prefab Edit Mode. - 2020.1.11f
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a8
Resolution Note (fix version 2020.1):
Fixed in 2020.1.16f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.17f1