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
- Shader warnings are thrown after building High Definition 3D template
- "EndLayoutGroup: BeginLayoutGroup must be called first" error is thrown when changing Shader Precision Model from the Build Profiles window
- White artifacts/outlines are visible in the Garden Scene when viewing at meshes from a distance
- Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
- [Android] HLSL shader becomes corrupted when running on an Android device
Add comment