Search Issue Tracker

Fixed in 2018.3.X

Votes

0

Found in

2019.1.0a8

Issue ID

1097140

Regression

No

[Improved Prefabs] Script with required component cannot be added to prefab instance via Inspector

Scene Management

-

Steps:
1. Open attached project and load TestScene
2. Select GameObject prefab instance
3. Drag TestScript to the GameObject Inspector to add it
==>
Info message appears "Cannot restructuring prefab instance..."
4. Drag TestsScript onto GameObject in Hierarchy
==>
Components are added successfully

Script has RequiredComponent attribute on it

Repro also on: Version 2018.3.0b5 (01088ee0a3a8) Branch: 2018.3/staging

Add comment

Log in to post comment