Unity Issue Tracker - Masked image is permanently culled if enabled/disabled by script
Closed
UUM-8716
Masked image is permanently culled if enabled/disabled by script
Unity: Graphics Kernel
Won't Fix
2021.3.X
Not reproducible in multiple versions, including 2021.3 LTS - please re-open if the error occurs again and there is a new reproducible test!
How to reproduce:
1. Open project “MaskIssueRepro.zip“
2. Open "SampleScene" Scene (Assets > Scenes > SampleScene)
3. Open the Game window
4. In the Hierarchy window expand “Canvas” and “Mask” GameObjects
5. Select the “Image” GameObject and in the Inspector window open properties of the “Test” Script Component and choose “off”
6. Open properties of “Test” Script Component and choose “on”
7. Observe the Game view
Expected result: “Image” GameObject is visible
Actual result: “Image” GameObject is not visible