Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
0
Found in
2019.4
2020.2
2020.2.6f1
2020.3
2021.1
2021.2
Issue ID
1319453
Regression
Yes
OnTransformChildrenChanged doesn't get called in the Edit mode when dragging a Prefab from the Project window to the Hierarchy
How to reproduce:
1. Open the user's attached project
2. Open Scenes > SampleScene
3. From the Assets folder drag the 'Prefab' under the Parent object in the Hierarchy
4. Observe the Console
Expected result: 'Children changed! Prefab' appears in the Console
Actual result: The Console is empty
Reproducible with: 2019.4.0f1, 2019.4.22f1, 2020.2.7f1, 2020.3.1f1, 2021.1.0b12, 2021.2.0a9
Not reproducible with: 2018.4.33f1
Notes:
- The PrintChildrenChanged.cs has the [ExecuteAlways] attribute
- The issue doesn't reproduce in the Play mode
- The issue doesn't reproduce with non-Prefab objects
- The issue doesn't reproduce in the Edit mode if the Prefab is already in the Hierarchy
Add comment
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
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a11
Resolution Note (fix version 2021.1):
Fixed in 2021.1.4f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.12f1