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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.