Search Issue Tracker

Duplicate

Votes

0

Found in

2021.2.0a9

2021.2.4f1

2022.1

Issue ID

1384906

Regression

Yes

[Undo] "Transform child can't be loaded" error is thrown when an Undo operation is registered via Script and a Redo is done

Kernel

-

How to reproduce:
1. Open the user-submitted project
2. Open the scene "SampleScene" (Assets/Scenes/SampleScene.unity)
3. In the Hierarchy window, select the GameObject "Test"
4. In the Inspector window, click the button "Duplicate1"
5. Undo the action (Edit > Undo Create-Child)
6. Redo the action (Edit > Redo Create-Child)
7. Inspect the Console window (Window > General > Console)

Expected result: No errors are seen in the Console
Actual result: "Transform child can't be loaded" error is seen in the Console

Reproducible with: 2021.2.0a9, 2021.2.5f1, 2022.1.0b1
Not reproducible with: 2019.4.33f1, 2020.3.24f1, 2021.2.0a8

Note: The reproduction steps always cause a crash in 2022.1.0b1

Full error:
Transform child can't be loaded
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()

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.