Search Issue Tracker
Not Reproducible
Votes
1
Found in
2019.1.0a11
2019.1.3f1
2019.2.0a1
2019.3.0a1
Issue ID
1157331
Regression
Yes
[Mac] Adding a script containing a null reference to a prefab causes Editor to freeze
How to reproduce:
1. Open the attached "PrefabFreeze.zip" project
2. Open the "GameObject.prefab" in Prefab mode and make sure Auto Save is enabled
3. Add multiple Freezer.cs scripts to the prefab
Expected results: NullReferenceExceptions are thrown
Actual results: Editor freezes
Reproducible with: 2019.1.10f1, 2019.2.0b9, 2019.3.0a9
Not reproducible with:2017.4.30f1, 2018.4.4f1, 2019.1.0a10
Note: Not reproducible on Windows
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
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Resolution Note (2019.3.X):
This does not reproduce in 2020.1, not sure when or what fixed it, so I don't know if a backport is needed