Search Issue Tracker
Fixed
Fixed in 6000.1.0a9, 7000.0.0a1
Votes
0
Found in
6000.0.26f1
6000.1.0a3
Issue ID
UUM-87102
Regression
Yes
Rigidbody2D.Cast does not detect collisions when 'Is Trigger' property is enabled
Reproduction steps:
1. Open the attached “Physics2DBug.zip” project
2. Open the “SampleScene”
3. Enter the Play mode
4. Select the “Bullet” GameObject from the Hierarchy
5. In the Inspector, find the “Circle Collider 2D” Component
6. Enable the “Is Trigger” property
7. Observe the Game view
Expected result: The green circle disappears after collision
Actual result: The green circle flies over the collider
Reproducible with: 2023.1.0a19, 6000.0.26f1, 6000.1.0a3
Not reproducible with: 2021.3.46f1, 2022.3.52f1, 2023.1.0a18
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Note:
- Enabling Gizmos in the Game view shows point of collision (before ‘Is Trigger’ is enabled)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Actions in UI Builder Preview mode are not fully reset after exiting the Preview mode
- Transform field values are no longer visible when Inspector window is resized
- [Android] "Adding null Transform to TransformAccessArray will result in degraded performance" warnings printed when loading and unloading scenes with 2D animated characters
- "Trying to draw gizmos while inside a renderpass" error message is thrown when Scene View Gizmos are enabled
- CPU frame times spike at regular intervals in the Profiler when in Play mode with VSync enabled and using DX12 API
Add comment