Search Issue Tracker
Fixed
Fixed in 2023.2.17f1, 6000.0.0b13, 6000.1.X
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
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
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.