Search Issue Tracker
Fixed in 5.5.0
Physics queries detect backfaces inconsistently
Steps to reproduce:
1. Download and open project "SweepCastTest.zip"
2. Open and play scene "Scene 2"
3. Actual result: Notice in console, when the collision occurred, message was printed. For BoxCastAll there are three messages, for BoxCast, SweepTestAll and SweepTest there is only one
Expected result: Every collision generates messages, resulting in three messages for each (of four - BoxCastAll, BoxCast, SweepTestAll, SweepTest) of collision detections
Note: Some of these functions were not present before Unity 5.3
Unity 5.3.0p1, 5.3.1p2, 5.4.0b1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- Containers' height doesn't expand when text wraps
- Variable is set to a different value from the selected enum value in the Editor dropdown
- TreeView Child display toggle styling becomes reversed when clicking and dragging it
- Null is returned when using FocusOutEvent.relatedTarget
- Unity_BaseInstanceID is always zero when rendering multiple meshes and instancing with the same buffer
Aug 09, 2016 04:05
Happens with spherecast and large thin box colliders too.
Mar 31, 2016 15:12
I created a bug report earlier and was told this it was a duplicate of this issue. For archiving reasons, here is the link to my original bug report, which may provide more information on this topic: https://fogbugz.unity3d.com/default.asp?783310_73mm7k2depstml6h
This is blocking me as well. I rely on the sweep methods that will return multiple hits, however they all generate hits on backfaces. Only the sweeps that return a single hit will properly ignore them, but single hits are insufficient for my needs.
Mar 16, 2016 04:46
Lost 2 days work on this issue. Tried with a plane and my issues were fixed, so I can verify with BoxCast, and SweepTest, the returned raycasthit has inconsistent data on cubes or more complex models with backfaces.
Showstopper, so I had to resort to using spherecasts everywhere as a hack patch.