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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
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