Search Issue Tracker
By Design
Votes
0
Found in
5.5.2f1
Issue ID
890027
Regression
Yes
The parameter "layerMask" shows incorrect value both on Physics2D.OverlapBoxAll and Physics2D.OverlapBox
Reproduction steps:
1. Open the attached project "Testing.zip";
2. Open the Test scene;
3. Select the Cube game object in the Hierarchy;
4. Enter a play mode.
5. Observe the results of the field "Number of Collisions".
Expected results: there should be shown only collisions of the objects on the specific layer (on the attached project there should be value 1).
Actual results: the parameter shows the number of all collisions (on the attached project value is 2).
Reproduced on: 5.5.0f3, 5.6.0b10, 5.6.0f1, 2017.1.0a3. (shown value is 2)
Not reproduced on: 5.4.4p3. (shown value is 1)
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