Search Issue Tracker

Fixed

Fixed in 6000.0.7f1

Votes

1

Found in

6000.0.2f1

Issue ID

UUM-72127

Regression

Yes

Physics.IgnoreCollision() function is not applied when toggling the GameObject.SetActive()

--

-

How to reproduce:
1. Open the user-attached project “My project”
2. Open the “SampleScene” scene
3. Enter the Play Mode
4. Select the “Gun” GameObject in the Hierarchy
5. In the Inspector, under the “Shoot Bullet (Script)” toggle the “Toggle Game Object” checkbox
6. Observe the collision in the scene

Expected results: The collisions in the scene are the same before and after toggling the variable
Actual results: The collisions in the scene are different depending on whether the checkbox is checked or not

Reproducible with: 2023.3.0a19, 6000.0.2f1
Not reproducible with: 2021.3.38f1, 2022.3.29f1, 2023.3.0a18

Reproducible on: Windows 11 Pro
Not reproducible on: No other environment tested

Note:
-In 2023.3.0a19 the Physics.IgnoreCollision() is not working at all
-Also reproducible in Player

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.