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
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Add comment