Search Issue Tracker
Duplicate
Votes
0
Found in
2018.4
2019.2
2019.2.11f1
2019.3
2020.1
Issue ID
1197293
Regression
No
Rigidbody's Collision Detection is not changed to Continuous when changing it in a Script after toggling the Is Kinematic option
When enabling the Is Kinematic option in the Rigidbody's Component it changes the Collision Detection to Continuous Speculative. Changing it back to Continuous in a Script affects only the value in the Inspector. When changed, the Sphere's Path doesn't match Continuous Collision Detection Path taken by another Sphere but matches the Continuous Speculative one.
How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Enter the Play Mode
3. Inspect the Spheres in the Game View
Expected result: Gameobjects which have Continuous Collision Detection on their Rigidbodies("PlayerSphereContinuous" and "PlayerSphereSwitchedContinuous") travel the ramp with the same path.
Actual result: "PlayerSphereSwitchedContinuous" follows the path of a GameObject with a Continuous Speculative Collision Detection. ("PlayerSphereSpeculative")
Reproducible in: 2018.4.13f1, 2019.2.13f1, 2019.3.0b11, 2020.1.0a13
Couldn't test with Unity 2017.4.34f1 (Unity crashes while downgrading the project)
Notes:
1. GameObject's Rigidbody's Collision Detection appears to be changed only in the Editor's Inspector
2. If "PlayerSphereSwitchedContinuous" GameObject's Rigidbody's Collision Detection is set to Continuous Speculative before entering Play Mode it follows the correct path when switching the Collision Detection to Continuous during Runtime
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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
This is a duplicate of issue #1177698