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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment