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
Comments (3)
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
- GfxDevice::UpdateBufferRanges when running UIBuilder tests
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
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.