Search Issue Tracker
Not Reproducible
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2019.2.0a1
2019.3.0a1
2020.1.0a1
2020.1.0a4
Issue ID
1183971
Regression
No
Physics.SphereCast(origin, radius, direction, out hitInfo, layerMask) ignores the layerMask parameter
How to reproduce:
1. Open the "Physics_Test.zip" project
2. Open the "Physics.unity" scene
3. Enter Play Mode
4. Check the Console
Actual result: Objects from "Default" layer are hit, even though the LayerMask is set to "Water".
Expected result: No objects are hit.
Reproducible with: 2020.1.0a4, 2019.3.0b4, 2019.2.6f1, 2018.4.9f1, 2017.4.32f1.
Notes:
- Not reproducible with Physics.BoxCast.
- May be reproducible with other functions as well, haven't tested them all.
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
Add comment