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
- PlasticSCM NullReferenceException on entering the Play Mode when Unity Version Control tab is added to the layout
- Shortcut Helper Bar does not appear when enabling it and disabling it
- "Property (urp_ReflProbes_BoxMin) exceeds previous array size" warning spams console after switching platforms
- Have to change Input Mapping Path twice for change to take effect when Auto-Save is enabled
- No Duplicate option is available when right clicking States in the Animator Window even though it's available via Shortcut
Add comment