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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
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