Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
1
Found in
2018.3.0a6
2018.3.0b5
Issue ID
1090541
Regression
Yes
Prefab reference in a Scriptable Object gets removed when the SO is attached to the Prefab and when the Prefab is modified
How to reproduce:
1. Open user-submitted project (PrefabRefByInsideSO)
2. Drag the GameObject prefab into its Scriptable Object's 'Prefab' property field
3. Open the Prefab in Prefab Mode, modify any value and save changes
4. Check the 'Prefab' property on the Scriptable Object
Expected result: the prefab is still referenced
Actual result: the reference gets set to 'None', an error is displayed in the Console
Reproducible with: 2018.3.0a6, 2018.3.0b12, 2019.1.0a1, 2019.1.0a10
Not reproducible with: 2018.2.18f1, 2018.3.0a5
Notes:
The issue was introduced along with Improved Prefabs
'AssetImporter is referencing an asset from the previous import. This should not happen.' error message is thrown when saving changes to the Prefab
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment