Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2019.2.X
Votes
0
Found in
2018.3.0a1
2019.1.0a1
2019.2.0a1
2019.2.0f1
2019.3.0a1
Issue ID
1174519
Regression
Yes
Collider stays behind when GameObject with multiple Colliders is set as child in script of object which moves using Rigidbody2D
How to reproduce:
1. Open the attached project("case_1174519")
2. In Hierarchy select "My Child" GameObject
3. Enter Play Mode
4. Observe the Scene View window
Expected result: The Circle Collider 2D is following "My Child" GameObject
Actual result: The Circle Collider 2D is stationary
Reproducible with: 2018.3.0a1, 2018.4.6f1, 2019.1.14f1, 2019.2.1f1, 2019.3.0a11
Not reproducible with: 2017.4.31f1
Note:
- Reproduces only with 2D components, using 3D Colliders and Rigidbody results in expected behaviour
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
- Font Engine Layout Tables memory increases when repeatedly entering Play Mode with custom fonts used in a UIDocument
- The Ragdoll Builder window has no scrollbar making elements unreachable unless the window is resized
- Crash on FindSeamTexels when generating lighting while the meshAtlasIndex >= 0
- Floating Material Preview window does not update when material properties are changed in the Inspector
- The Ragdoll Builder window has no minimum window size for the critical functionality to be visible at all times
Resolution Note (fix version 2019.3):
Reparenting was being aborted after the first Collider2D type was found which is the same logic for Rigidbody2D however this should not have been the case due to multiple Collider2D being allowed on the same GameObject. This is part of the Transform Sync logic and has been corrected.
-----------------
Fixed in 2019.2.2f1, 2019.3.0a13, 2020.1.0a1
Resolution Note (fix version 2019.2):
Reparenting was being aborted after the first Collider2D type was found which is the same logic for Rigidbody2D however this should not have been the case due to multiple Collider2D being allowed on the same GameObject. This is part of the Transform Sync logic and has been corrected.