I’ve created an Inventory UI liberally using CanvasGroups for their ease of editing their contents’ transparency. When I came home on Monday after being away since Friday, I began encountering a visual bug I hadn’t seen at all prior where occasionally CanvasGroups that I had tweened visible (GroupTransparency to 0) weren’t drawing until a property of theirs changed.
Here is a video of the phenomenon:
What’s happening in the video: Each of the 4 buttons at the top are their own CanvasGroup that are visible and have a GroupTransparency of 0, but only begin to actually draw (the UIStroke is unaffected) when the white selection vignette child becomes visible when the mouse enters the button… The background, its own CanvasGroup, also doesn’t draw, only drawing when the button menu at the end opens and changes one of its properties, the text subtitle at the bottom.
I’ve included a repro file and instructions for reproducing in the staff-only section.
This is a considerate blocker for me, as UI elements not drawing looks very unpolished and can poorly communicate to the player what items they own.
System Info:
CPU: Intel(R) Core™ i7-10700F CPU @ 2.90GHz
Memory: 32.0 GB
GPU: NVIDIA GeForce RTX 2060
Issue Area: All Platforms
Issue Type: Visual Bug
Impact: Moderate
Frequency: Inconsistent
Date First Experienced: 2023-04-24
A private message is associated with this bug report