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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Long Prefab save times when using Unity 2022.2 and higher
- Console displays error "UnityException: Creating asset at path Assets/Scenes/ .scenetemplate failed." during scene template saving
- "Development Build" watermark is shown in non-development UWP release builds
- Console errors appear when the Inspector is set to Debug and a GameObject is selected
- A script public variable value is not used when set in the Inspector window
Add comment