Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2018.4.X, 2019.2.X, 2019.3.X

Votes

1

Found in

2018.2.0x

Issue ID

1166938

Regression

No

Prefabs dragged into scene in Play Mode are not unpacked

Scene Management

-

Prefabs already in the scene when entering Play Mode are unpacked, but Prefabs dragged in while in Play Mode are not. This causes issue such as scripts that reparent in Awake causing errors that the Prefab instance can't be modified. Runtime logic should never cause these editor workflow specific errors. Fix this by unpacking Prefabs when they are dragged into the scene in Play Mode. Should only happen in Play Mode, and only if the destination scene is not a Preview scene. Must happen prior to all script callbacks, such as Awake.

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.