Search Issue Tracker

Fixed in 2021.2.X

Votes

0

Found in

2020.2.0a17

Issue ID

1259961

Regression

No

Creating a Prefab from drag operation does not handle missing scripts gracefully

Scene Management

-

Steps:
1. Create a GameObject and assign any script to it
2. Make a prefab out of this GameObject and left an instance in the Hierarchy
3. Delete a script file from ProjectBrowser
4. Drag Prefab instance to ProjectBrowser
==>
Exception raised, cannot save a new prefab (it is Ok)
Issue:
a) Instance of GameObject is unpacked
b) Unpacked instance is still shown as prefab instnace (blue color and an arrow to open in InContext)
P.S: Reimport of the asset will remove the blue color and an arrow

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.