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
- Crash on ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
- [Android] "Screen.safeArea.y" always returns values outside of the Safe Area when the device is in Portrait orientation
- Frame spike due to many TreeRenderer.TreeUpdated calls when repositioning terrains in large Scenes
- Crash on GameObject::RemoveComponentFromGameObjectInternal when reparenting Text GameObjects
- [IL2CPP-GarbageCollector] Changing GCMode might permanently disable GC in a multithreaded context
Add comment