Search Issue Tracker

Active

Under Consideration for 2022.3.X, 6000.0.X

Votes

0

Found in

2022.3.38f1

6000.0.11f1

Issue ID

UUM-76481

Regression

Yes

"OnTransformParentChanged" is not called when parenting/unparenting GameObjects using Undo/Redo

--

-

How to reproduce:
1. Open the “ParentUndo.zip“ project
2. Open the “SampleScene“
3. Parent the “Parent.1“ GameObject to the “Parent.2” GameObject in the Hierarchy
4. Clear the Console
5. Undo the last action (CTRL + Z)
6. Observe the Console

Expected result: A message is logged “OnTransformParentChanged“
Actual result: No message is logged

Reproducible in: 2022.1.0a12, 2022.3.38f1, 6000.0.11f1
Not reproducible in: 2021.3.40f1, 2022.1.0a11

Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested

Note: Other callbacks like “OnEnabled()” and “OnDisabled()“ are responding to Undo/Redo actions

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.