Search Issue Tracker
Fixed in 2018.2.X
Votes
0
Found in
2017.1.1p2
Issue ID
951920
Regression
No
[Physics] Physics.ComputePenetration calculates depth incorrectly for some collider combinations
The Scene contains a capsule collider and a non-convex mesh collider that are slightly overlapping. Physics.ComputePenetration should report that the penetration depth is quite small but instead it is reporting a very large value. If you slightly change the rotation/position/size of the colliders then the issue no longer occurs.
To repro:
1) Open attached project
2) Open Test Scene and enter play mode
3) Press S Key and see that depth is printed in console and on screen as 743.8444
Reproduced both in Editor and Standalone testing on OS X. Unity 2017.1.1p2.
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
richie-greene
Feb 12, 2018 17:15
Does disabling pcm in physics manager solve this?
Im having collision issues and thats a workaround