Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2017.2.0f2
Issue ID
956238
Regression
No
Prefab instance is shown as disconnected in Hierarchy if it contains a component with a missing script
How to reproduce:
1. Open users attached project
2. Inspect "Prefab", note that it has a "NewBehaviourScript" attached
3. Delete the 'NewBehaviourScript' script asset (from Project folder)
4. Drag 'Prefab' into Hierarchy/Scene
Expected result: "Prefab" text is still shown in a blue color, indicating that it is connected to a main "Prefab"
Actual result: "Prefab" text is shown in white, as it would be disconnected from a main "Prefab", clicking Apply or Revert throws a Null Reference Exception
Reproducible with - 2017.3.0a4, 2017.2.0f3, 2017.1.2f1, 5.6.3p4
Notes:
1. Clicking "Revert" or "Apply" on the "Prefab" instance causes a Null Reference Exception being thrown (the "Apply" one was not reproducible up until 2017.3.0b1 and 2017.2.0f3)
2. Even though the "Prefab" instance is shown as disconnected, new components and changes are still applied to a main (originating) Prefab
Fixed in - 2018.3.0b5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite Masks affect Sprite Renderers outside their range when a Light2D is present with specific Target Sorting Layers selected
- URP Lens Flare is rendered in the wrong position when Render Graph Compatibility Mode is enabled and Render Scaling is not 0
- Editor crashes on DrvPresentBuffers when loading RenderDoc while using OpenGLES 3.0 or OpenGLES 2.0 Graphics API
- [Test Runner] Incorrect name under Window > Panel after project restart
- [iOS] Crash when using fallback fonts created at runtime
Add comment