Search Issue Tracker

Fixed in 2022.2.X

Duplicate in 2020.3.X, 2021.3.X

Votes

0

Found in

2019.4

2020.3

2020.3.11f1

2021.2

2021.3

2022.1

2022.2

Issue ID

1409210

Regression

No

Canvas Group Component's "Block Raycasts" and "Interactable" options work when the Component is disabled

uGUI

-

Reproduction steps:
1. Open the attached project
2. Enter Play Mode
3. Observe button behavior
4. Select "Canvas" GameObject in the Hierarchy window
5. Enable "Blocks Raycasts" and "Interactable" options under the Canvas Group component in the Inspector window
6. Observe button behavior

Expected result: the "Block Raycasts" and "Interactable" options shouldn't take effect when the Canvas Group Component is disabled
Actual result: the "Block Raycasts" and "Interactable" options take effect

Reproducible with: 2019.4.38f1, 2020.3.33f1, 2021.2.19f1, 2021.3.1f1, 2022.1.0f1, 2022.2.0a11

Note: in Unity versions 2021.2.19f1, 2021.3.1f1, 2022.1.0f1 and 2022.2.0a11 when the Canvas Group component is disabled, only the "Blocks Raycasts" option takes effect and the "Interactable" option doesn't

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.