Search Issue Tracker
Fixed in 5.5.0
Votes
2
Found in
5.3.0b6
Issue ID
753730
Regression
No
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
Reproducible on:
Windows 10
Unity 5.3.0p1, 5.3.1p2, 5.4.0b1
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
- Color property '_BaseColor' missing
- Point Light source stops lighting when moved out of camera frustum in Player while having 2 directional lights in scene present, and a fog enabled by script
- Sky does not get rendered when 'CameraRelativeRendering' is disabled
- Dropdown UI elements have their Content misplaced when nested inside a Prefab containing a root object with a Canvas Component
- “'UnityMetaVertexPosition': implicit truncation of vector type" Shader warning when compilating URP ShaderGraph shaders
hippocoder
Aug 09, 2016 04:05
Happens with spherecast and large thin box colliders too.
Nyxo
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.
hippocoder
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.