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
- ResolveUsePasses now extracts passes from all subshaders including fallbacks, in contrast to documented behaviour
- [UIBuilder] Changes aren't detected on types implementing IList
- [HDRP] Text is rendered with artefacts when using STP and resolution scale is set a float value
- [Settings Search] Search results not always matching search term correctly
- Crash on memcpy when opening a project that loads TSS files
Add comment