Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
2017.1.0b5
Issue ID
911697
Regression
Yes
Dragging a script on a prefab instance prompts a "Losing Prefab" dialog
Dragging a script on a prefab instance prompts a "Losing Prefab" dialog
What happened
Draging a script on a prefab instance prompts a "Losing Prefab" dialog
How we can reproduce it using the example you attached
1. Load the project
2. Create an instance of "Cube" prefab in the scene
3. Try to add the "script" script to the instance by Drag n Drop script on the instance or directly in the inspector having the instance selected.
Result: a "Losing Prefab" dialog is prompted
Notes:
- This is a regression in 2017.1
- Clicking "Cancel" on the dialog still adds the script component anyway
- Create the script from the "Add Component" button doesn't prompt the dialog
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- 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
- Motion Vector texture reports incorrect Mesh data when Mesh is coming from off-screen
Add comment