Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0b7
Issue ID
1095136
Regression
No
PrefabUtility.GetObjectOverrides() produces a null reference exception while in playmode
Steps to reproduce:
1. Download and open the attached project
2. Select "Tools/test prefabs Asset"
Result: NullReferenceException
Reproduced on 2018.3.0b7, 2018.3.0b9, 2019.3.0a7
API introduced in 2018.3
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
PrefabUtility lives in UnityEditor, which means it's editor only and will not exist in standalone. Such concept of prefab does not exist in standalone or player.. it's just a gameobject. When entering playmode, all prefabs in scene are unpacked into regular gameobjects, that's why there are no overrides.