Reproduction steps:
1. Open the attached “IN-49462_Clicks Through Colliders.zip“ project
2. Open the “Test clicks through walls” scene from the “Assets” > “Canvas Test clicks through walls” folder
3. Enter Play mode
4. In Game view, hover over the red GameObjects with the mouse cursor
5. Observe the colour of the Buttons that are partially blocked by the red GameObjects
Expected result: The Canvas Buttons do not change colour when hovering over the red and blue GameObjects
Actual result: The Canvas Buttons change colour when hovering over the red but not blue GameObjects
Reproducible with: 2021.3.29f1, 2022.3.7f1, 2023.1.9f1, 2023.2.0b5
Reproduced on: Windows 11 Pro 22H2
Not reproduced on: Not tested on any other system
Notes:
- The Mesh Collider of the “holo wall” GameObject is responsible for the issue when it is close enough to the other GameObjects
- [Workaround] Enabling the Convex option on that same Mesh Collider or disabling the Mesh Collider itself resolves the issue
- Reproducible in Player