Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.5.0f3
Issue ID
857090
Regression
No
Physics.queriesHitBackfaces does not work with Collider.Raycast
To reproduce:
1. Open attached project "ColliderRaycast.zip".
2. Play "Raycast" scene.
3. Press left mouse button on the white square. You get no message in a console window.
4. Select in Hierarchy "Target" object, and set it's X rotation to 0.
5. Now press on the white square in Game window. You get Console Debug.Log message.
Expected result: Collider.Raycast hits object's backface, if "Queries Hit Backface" is checked in Project Settings -> Physics.
Actual result: Collider.Raycast does not hit object's backface. (works fine with Physics.Raycast).
Physics.queriesHitBackfaces exposed in physics settings on Unity 5.5
Reproducible with: 5.5.0f3, 5.6.0a6
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
Efril
Apr 09, 2021 14:21
Still not works in 2020.1.17f1
MarshCZA
May 01, 2020 11:21
Still not working in 2019.3
quincyHuang
Dec 29, 2018 04:21
his still doesn't work in Unity 2018.2.20f1
janla
Aug 07, 2018 18:28
This still doesn't work in Unity 2018.2
I need a way to count the collision in and out points of a ray going through colliders.
Emissive
Apr 07, 2017 08:22
Will that be fixed in earlier versions, too? Like 5.5.x ? Thanks