Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2018.4.X, 2019.4.X, 2020.1.X, 2020.2.X
Votes
0
Found in
2019.4
2020.1
2020.1.0f1
2020.2
Issue ID
1266322
Regression
No
Crash on mono_class_fill_runtime_generic_context when entering Play Mode repeatedly
Reproduction steps:
1. Open user's attached project
2. Open scene "Main"
3. Enter Play Mode
4. In the Game, press "Button", then "Run"
5. Press E to enter the rocket, move around with WASD and shoot with left-click
6. Exit Play Mode
7. Repeat steps 3-6 (reproducible 1/8 times)
-- observe crash
Reproducible with: 2019.4.6f1, 2020.1.1f1, 2020.2.0a20
Could not test with: 2018.4.26f1 (errors)
Note:
- Sometimes editor windows become blank and usually Unity crashes soon after.
- Sometimes Unity freezes while trying to enter Play Mode.
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
- UI Toolkit meshes are fully rendered and rasterized when opacity is 0
- Light rendering artefacts appear in the Editor when assigning unsupported 3D Custom Render Texture in Camera’s Output Texture, unclearable errors and warnings spammed
- Memory leak when running a test with "GfxThreadingMode" set to "SplitJobs"
- Loading Unloaded unsaved Scene throws “ArgumentException” error in the Console
- Crash on std::__1::__tree_const_iterator when opening the Build Profiles window in a specific project
Resolution Note (fix version 2021.1):
Fixed issue where thread statics that reused thread static slots would not adhere to type alignment. This would cause the garbage collector to incorrectly clean up thread static data because it would only scan pointer aligned memory for references. This would lead to memory becoming corrupted and inducing random crashes.
Fixed in 2021.1.0a5
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0b14
Resolution Note (fix version 2020.1):
Fixed in 2020.1.14f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.15f1
Resolution Note (fix version 2018.4):
Fixed in 2018.4.30f1