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
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
- Mesh.GetIndexBuffer() requires Mesh's 'Read/Write' flag to be enabled to get its index buffer data in Builds
- [Backport] [Sprite Atlas V1] Editor crashes when calling SpriteAtlasUtility.PackAtlases
- Deterministic builds have different files when built from the same project
- PlayerBuildInterface.ExtraTypesProvider no longer provides types to IL2CPP
- Touch input is reset in Device Simulator when Unity Remote is killed
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