Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2020.3.X, 2021.2.X

Votes

0

Found in

2020.2.0a3

2020.3.14f1

2021.2

2022.1

Issue ID

1362574

Regression

Yes

An error is thrown when merging changes made to a Prefab into a Nested Prefab with co-dependant components

Scene Management

-

How to reproduce:
1. Open the user attached "nested_bug.zip" project
2. Open the "GameParent" Prefab located in the Scenes folder
3. Open the console

Expected result: No error is thrown
Actual result: An error is thrown

Reproducible with: 2020.2.0a3, 2020.3.23f1, 2021.2.3f1, 2022.1.0a15
Not reproducible: 2019.4.32f1, 2020.2.0a2

Note:
* Error message: Error removing component when merging Prefab changes: Can't remove CompFirst (Script) because CompSecond (Script) depends on it
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
* 2020.2.0a18 error message: Creating missing CompFirst component for CompSecond in GameChild.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

  1. Resolution Note (fix version 2022.1):

    Fixed in: 2022.2.0a1

  2. Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0b4

  3. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.11f1

  4. Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.28f1

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.