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
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached
- Scroll offset is framerate-dependent when scrolling with velocity in the Device Simulator
- "Object.FindObjectsOfType<T>() is obsolete" warning is thrown when using "Transitions Plus" asset
- [Mono] Crash on SystemNative_ReadDirR() when building for IOS/Android on a macOS machine
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