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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment