Unity Issue Tracker - The GameObject's layer, which contains the Rigidbody, is used for "RigidBody.SweepTest" when retrieving a collider from a child GameObject with a non-collide-able layer
Fixed
UUM-91192
The GameObject's layer, which contains the Rigidbody, is used for "RigidBody.SweepTest" when retrieving a collider from a child GameObject with a non-collide-able layer
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Notes:
The child GameObject layer is set to (6: NoCollision) where in the collision matrix the logic is set for objects to collide only between layers 0 and 6
All parent GameObjects have their layers set to (0: Default)
“0 - 6 - 6“ respectively is the layers of the parent GameObject, the ground GameObject, the child (collider) GameObject
In the “SweepTest” method, the RigidBody retrieves the Collider from the child GameObject, but its layer is set as one of the parents'
Prioritise and Follow this issue
Have a workaround or additional info about this issue?