Search Issue Tracker
Won't Fix
Won't Fix in 2023.3.X
Votes
0
Found in
2021.3.28f1
2022.3.5f1
2023.1.4f1
2023.2.0a23
2023.3.0a3
Issue ID
UUM-43728
Regression
No
physics.overlapspherenonalloc returns inconsistent results when overlapping an object
Reproduction steps:
1. Open the attached project “Piano”
2. Open Build Settings (File > Build Settings)
3. In the Build Settings window make sure that Development Build, Script Debugging and Wait for Managed Debugger are enabled
4. Build and run by pressing the Build And Run button
5. In the Console window select the Editor dropdown menu and select the Player, when a window pops up saying that a debugger can be attached
6. Press OK on the popped up window
7. In the Player move the character to the piano’s keys (to the right)
8. Observe the Console in the Editor
Expected result: overlapspherenonalloc always returns 1
Actual result: overlapspherenonalloc returns 1 or 0
Reproducible with: 2021.3.28f1, 2022.3.5f1, 2023.1.4f1, 2023.2.0a23
Reproducible on: Windows 10
Notes:
In the Play mode, overlapspherenonalloc will always return 1 when near the piano’s keys
In the Player, pressing the Interact button (E on Keyboard) near the piano’s keys will make the character play the piano and shortly stop
Comments from triage:
- Tested on 2023.2.0b1 on Mac and was able to reproduce
- Noticed that in the player build, that there was a periodicity to the output of the logging output to the Player.log where overlapspherenonalloc would return 1, then 5 zeros, and this would repeat (player was positioned in front of the piano in this case. When entering playmode from the Editor, and similarly placed, the log output was consistently 1.
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
The submitted issue could not be reproduced after the used APIs have been narrowed down and used to create a simple reproduction sample.
Cheers,
AlexRvn
Resolution Note (2023.3.X):
The submitted issue could not be reproduced after the used APIs have been narrowed down and used to create a simple reproduction sample.
Cheers,
AlexRvn