Unity Issue Tracker - The Rigidbody Component placed in the parent GameObject cannot be found when the child GameObject's Script Component is addressing it
Closed
UUM-54923
The Rigidbody Component placed in the parent GameObject cannot be found when the child GameObject's Script Component is addressing it
Unity: PhysX
Won't Fix
2023.3.X
2023.2.X
2023.1.X
2022.3.X
2021.3.X
After review we have elected not to address this issue at this time.
How to reproduce:
1. Open the attached “UnityBugsRepro“ project
2. Open the “SampleScene“
3. Enter Play mode
4. Observe the Console window
Expected result: The “FloorKinematicRigidbody“ and “FloorDynamicRigidbody“ GameObjects start rotating when “Sphere A“ and “Sphere B“ collide with them respectively and the “Rigidbody found“ message will be printed out to the Console
Actual result: The “FloorKinematicRigidbody“ and “FloorDynamicRigidbody“ GameObjects do not start rotating when “Sphere A“ and “Sphere B“ collide with them respectively and the “Rigidbody not found“ message will be printed out to the Console
Reproducible on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested
Notes:
Workaround one: Move the Rigidbody Components from parent GameObjects (“FloorDynamicRigidbody“, “FloorKinematicRigidbody“) to the child GameObjects (“Platform B“, “Platform A“) respectively
Workaround two: Move the “Platform“ Script Components from child GameObjects (“Platform B“, “Platform A“) to the parent GameObjects (“FloorDynamicRigidbody“, “FloorKinematicRigidbody“) which have the Rigidbody Component respectively
Reproducible in Player
Prioritise and Follow this issue
Have a workaround or additional info about this issue?