Search Issue Tracker
Duplicate
Votes
0
Found in
5.2.2f1
Issue ID
745188
Regression
No
OnTransformChildrenChanged is not called when removing a child and is called twice when adding a child
Steps to reproduce:
1. Open attached project
2. Open and play 'Test' scene
3. Click 'Run test' button
4. See the console, notice the wrong number of calls to OnTransformChildrenChanged:
*Removing object from the children list does not call OnTransformChildrenChanged at all.
*Adding an object to the children list calls the function twice.
Reproduced with: 5.0.4f1, 5.2.3f1, 5.4.0a3
Comments (1)
-
tonytopper
Apr 08, 2024 22:45
This isn't a duplicate completely because the other ticket doesn't appear to mention "Removing object from the children list does not call OnTransformChildrenChanged at all"
I am also seeing that removing an object does not call the OnTransformChildrenChanged. Is this the expected result? Seems odd.
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
- Source Generation with GeneratePropertyBag fails when using reserved keywords as variable names with @ prefix
- Prismatic ArticulationBody moves in opposite direction when using targetVelocity
- Shader Graph skybox material is rendered inccorrectly in builds when "Allow Material Override" or "Cast Shadows" are enabled and the "Deferred" Rendering Path is used
- Object motion is affected by incorrectly added rotation motion when importing animations
- Base class's Context Menu method is called when calling it in the Editor from the child class and the child class overrides this method
This is a duplicate of issue #688317