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
- Element UI disappears and NullReferenceException is thrown when dragging off the last or first element from the list in the Inspector
- [Silicon] Crash on ScriptableRenderLoopJob when machine is left idle while the Editor is in Play mode
- [Android] GraphicsBuffer.CopyCount does not work with Append Compute Buffer after Compute Shader Dispatch on some Android devices
- "DirectoryNotFoundException" error when building a project via script in one folder, then building via Editor in another, deleting the folder built via Editor and rebuilding via Script
- New items are created and old ones remain in memory when using 'treeView.SetRootItems(items)' and 'treeView.Rebuild()' which can cause a memory leak
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