Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2020.3.X, 2021.1.X
Votes
0
Found in
2021.1.9f1
2021.1.11f1
Issue ID
1341975
Regression
No
Editor crashes when compiling scripts if UNITY_DIAG_ENABLE_DOMAIN_RELOAD_TIMINGS environemnt variable is set
How to reproduce:
0. If not set already, set the UNITY_DIAG_ENABLE_DOMAIN_RELOAD_TIMINGS system environment variable to value 1 and restart the machine for changes to take effect
1. Clear Unity cache (AppData/Roaming/Unity)
2. Create a new Unity project
3. Create a new script
Expected result: script compiles successfully
Actual result: the editor crashes while compiling
Reproducible with: 2021.1.9f1, 2021.1.11f1
Could not test with: 2018.4.36f1, 2019.4.28f1, 2020.3.12f1, 2021.1.8f1, 2021.2.0a20(env variable has no effect)
Notes:
If the crash does not occur, try clearing the other Unity folders in AppData and delete the Unity Editor 5.x folder in the Registry
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a1
Resolution Note (fix version 2021.1):
Fixed in 2021.1.14f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.14f1