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
- NullReferenceException error thrown when changing Scenes in Play Mode
- Crash on "'anonymous namespace'::ConvertFBXShapes" when importing an FBX file
- Crash on Transform::RemoveFromParent when Object.DestroyImmediate() is called on Transform
- [Linux] Player consumes more CPU resources when it is running in the background
- Save process is triggered every time when prefab property values are changed by dragging
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