Search Issue Tracker
Fixed
Fixed in 2022.2.0b9, 2023.1.0a11
Unknown (hidden) 2020.3.X, 2021.3.X, 2022.1.X
Votes
0
Found in
2020.3.36f1
2021.3.5f1
2022.1.8f1
2022.2.0a18
2023.1.0a1
Issue ID
UUM-7698
Regression
No
Rigidbody2D.IsTouching does not return true on collision for its duplicate GameObjects when ContactFilter2D and LayerMask are used
Reproduction steps:
1. Open the attached “ContactFilterLayerMask.zip“ project
2. Open the “SampleScene” scene
3. Duplicate the “Square” GameObject and position it anywhere where it overlaps the “Checker” GameObject
4. Enter Play Mode
5. Observe the “Square” GameObjects' colors
Expected result: Both GameObjects are green
Actual result: The duplicated GameObject remains red
Reproduced with: 2020.3.36f1, 2021.3.5f1, 2022.1.8f1, 2022.2.0a18, 2023.1.0a1
Reproduced on: Windows 10, Windows 11
Note: The duplicate GameObject starts behaving as expected after reopening the scene, but the user pointed out that sometimes it still doesn’t
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
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Resolution Note (fix version 2023.1.0a11):
Fix for this issue will be available on Unity 2023.1.0a11 and above
Resolution Note (fix version 2022.2.0b9):
Fix for this issue will be available on Unity 2022.2.0b9 and above