Search Issue Tracker
By Design
Votes
0
Found in
2022.3.10f1
2023.1.16f1
2023.2.0b12
2023.3.0a8
Issue ID
UUM-52920
Regression
No
PhysicsScene.OverlapSphere is not working when calling it in the custom physics scene
How to reproduce:
1. Open the attached project “OverlapSphere”
2. Open the “IN-50407_OverlapSphereTest” scene
3. Enter the Play mode
4. Observe the Console
Expected result: The message informing about the collider count is logged into the Console
Actual result: There is no message informing about the collider count
Reproducible with: 2022.3.10f1, 2023.1.16f1, 2023.2.0b12, 2023.3.0a8
Can’t test with: 2021.3.31f1 (The script can’t be loaded without any compilation errors)
Reproducible on: Windows 11 Pro
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
To specify the default layer mask, Physics.DefaultRaycastLayers should be used. In this project, the `default` keyword is used, which really gets resolved to 0 (no layers selected).