Search Issue Tracker
Fixed
Fixed in 6000.0.40f1, 6000.1.0b8, 6000.2.0a5
Votes
2
Found in
6000.0.35f1
6000.1.0b3
6000.2.0a1
Issue ID
UUM-96257
Regression
Yes
Overlapping objects do not collide when setting Physics.IgnoreCollision to false
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scene.unity” Scene
3. Enter the Play Mode
4. In Hierarchy, select the “ColliderA” GameObject
5. In Inspector, right-click the “Toggle Collision (Script)“ Component
6. Select “Disable collision“
7. In the Scene view, move the “ColliderA” GameObject to overlap with the “ColliderB“ GameObject
8. Repeat steps 4 and 5
9. Select “Enable collision“
Expected result: The “ColliderA” GameObject shoots up
Actual result: “ColliderA“ remains overlapping with “ColliderB”
Reproducible with: 6000.0.15f1, 6000.0.35f1, 6000.1.0b3, 6000.2.0a1
Not reproducible with: 2022.3.56f1, 6000.0.14f1
Reproducible on:
Play Mode
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- When objects are overlapping and then Physics.IgnoreCollision is set to false. Changing certain properties on the Collider or Rigidbody of one of the affected objects seems to re-enable collision instantly between the 2 Colliders. The properties that trigger this behavior back are the Collider.IsTrigger and Rigidbody.CollisionDetection
- Collision works when moving overlapping objects apart and trying to collide again
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Global Settings Asset “Open Project Settings > Graphics …” text overflows the button bounds when Inspector is narrow
- The “x” button to delete the input for the Source project is inconsistent and only appears when hovered and creating a new Template
- The “Next” button is not greyed out and still active when creating a new Template in the Hub and the Source project was selected but then something was searched with no options
- “Select a project.” label under the title is not needed because the Source project dropdown already has a placeholder “Search or select a project” when creating a new Template in the Hub
- [Usability] “Sorry, no templates match the search “”” message is not informative when creating a new Project in the Hub with Custom Template filtering enabled but no Custom Templates created
Add comment