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
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Text Script Importer Reference button links to a Missing Page when clicking the Reference Button in the Inspector
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.