Search Issue Tracker
Not Reproducible
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2019.2.0a1
2019.2.2f1
2019.3.0a1
2020.1.0a1
Issue ID
1182710
Regression
No
Physics2D.CircleCast(origin, radius, direction, layerMask) ignores the layerMask parameter
How to reproduce:
1. Open the "Physics_Test.zip" project
2. Open the "Physics2D.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:
- Also reproducible with Physics2D.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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment