Search Issue Tracker
Fixed
Fixed in 2023.2.17f1, 6000.0.0b13
Votes
0
Found in
2023.2.0a1
2023.3.0a1
6000.0.37f1
6000.1.0a7
Issue ID
UUM-65646
Regression
No
Some Rigidbody2D.Cast overloads do not correct use the Rigidbody2D angle.
Steps to reproduce:
1. Unzip the "CastShapeTest.zip" file.
2. Load the Project and the "SampleScene" scene.
3. Hit Play.
4. Red areas highlight BoxCollider2D that are detected.
Actual results:
The detected boxes do not represent the rotating Rigidbody2D and its BoxCollider2D. They represent the physics query without rotation!
Expected results:
The detected boxes should represent the rotating Rigidbody2D.
Reproducible with versions:
Not reproducible with versions:
Can’t test with versions:
Tested on (OS):
Notes:
- Reproduced from a discussion on the forums here: https://forum.unity.com/threads/rigidbody2d-cast-shape.1553102/#post-9679163
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 6000.0.0b13):
Verified as fixed on 6000.0.0b14.
Resolution Note (fix version 2023.2.17f1):
Thank you for the report! This is verified as fixed on 2023.2.18f1.