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
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
Add comment