Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2019.4.X, 2020.3.X, 2021.2.X
Votes
0
Found in
2020.3
2020.3.9f1
Issue ID
1346442
Regression
No
Crash when entering Play Mode and serializing data right after recompilation of script changes
How to reproduce:
1. Open the attached project "Share.zip"
2. Open the "Test_School" Scene
3. Open the PlayInEditorHook.cs
4. Set both the IDE and Unity as floating windows
5. Edit the PlayInEditorHook() function by adding or deleting new lines
6. Save the script
7. Return focus to Unity by clicking on the custom "Export and Play" button to the right of the Play/Pause/Step buttons
8. Repeat from step 5 until it crashes
Expected result: Editor enters Play Mode
Actual result: Editor crashes
Reproducible with: 2020.3.14f1
Can't test with: 2018.4.36f1, 2019.4.29f1, 2021.1.15f1, 2021.2.0b3, 2022.1.0a2 (Custom button that serializes Scene data doesn't exist)
Notes:
- If it doesn't crash for a while delete the Library folder and start from step 1
- Might happen more commonly with Visual Studio 2017 - 2019
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note (fix version 2022.1):
Fixed in: 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b5
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.10f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.26f1
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.35f1