Search Issue Tracker
Fixed
Votes
5
Found in
5.0.1f1
Issue ID
688317
Regression
No
OnTransformChildrenChanged() called twice
To reproduce the bug follow the steps
1. Open "case_688317-OnTransformChildrenChangedCalledTwice" project
2. Open "Main" scene
3. Run scene
4. Press button "Add to children"
5. Console shows two "OnTransformChildrenChanged" messages
In "NewBehaviourScript" script:
"transform.SetParent" function triggers "OnTransformChildrenChanged" method twice.
Comments (6)
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Hosnkobf
Feb 01, 2018 15:21
Almost 3 years after the report of the bug it is marked as fixed but still not in any released version... What the F*ck?
Jigsaw-Indie
Aug 12, 2015 07:08
Version 5.1.2f1
- Destroy child object triggers OnTransformChildrenChanged() three times
- Remove child object (parent to null) does not trigger OnTransformChildrenChanged() at all
- Add child object triggers OnTransformChildrenChanged() twice
Chris-Trueman
Jul 20, 2015 12:40
It also doesn't trigger when you remove a child, by changing its parent. It will trigger if the child is destroyed.