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
- Tilemap.SetTile() does not change the tiles when called from Update() in the Player
- Custom Shader Material is pink when the project is built for the WebGL platform
- New 3D URP Sample Scenes Project is created with an invalid dependency on com.unity.render-pipelines.universal-config when creating the Sample Project for the first time
- Canvas Scaler causes abnormal scaling of Canvas elements in Play Mode when UI Scale Mode is set to "Constant Physical Size" and any Editor window is moved to a differently scaled monitor and is interacted with
- Touch.rawPosition always returns (0,0) when clicking or dragging anywhere on the screen in the Play Mode
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