Search Issue Tracker

Fixed in 2022.1.X

Votes

0

Found in

2020.2.0a7

2020.3

2020.3.8f1

2021.1

2021.2

Issue ID

1341044

Regression

Yes

Animated Image property Raycast Target does not function when disabled before entering Play Mode

uGUI

-

Reproduction steps:
1. Open the attached "RaycastTarget.zip" project
2. Enter Play Mode
3. In Game view, interact with the Button through the overlapping Image

Expected result: The Button region below the Image is not interactable when the Image Raycast Target is enabled (for visual representation Image becomes opaque)
Actual result: All regions of the Button are always interactable

Reproducible with: 2020.2.0a7, 2020.3.13f1, 2021.1.13f1, 2021.2.0b1
Not reproducible with: 2018.4.36f1, 2019.4.28f1, 2020.2.0a5

Note:
- Having Raycast Target (property of Image) enabled before entering Play Mode fixes the issue

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a4

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.