Search Issue Tracker
Fixed
Fixed in 6000.0.7f1
Votes
1
Found in
6000.0.2f1
7000.0.0a1
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
Add comment