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

Scripting

-

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

  1. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0a8

  2. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.16f1

  3. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.17f1

Comments (2)

  1. fohoxj

    Nov 07, 2022 10:37

    it's also happened when entering Prefab Edit Mode. - 2019.4.40f

  2. JJaery433

    Nov 23, 2020 09:31

    it's also happened when entering Prefab Edit Mode. - 2020.1.11f

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.