UGUI and TMP status of currently unsupported elements

There are still several elements that are likely included under the head of “Partial” support in the release notes. I wanted to find out if any of these are on the horizon or have expected fix dates. (or if there are existing solutions I am unaware of)

  1. Masking in UI. (Mask and RectMask2D) - Performance is still a bit dodgy on these, but more importantly, when these are moved (rotated) in world space (the canvas, or any of these elements), the masks become distorted and can become unusable. (IN-63602)

  2. Inline icons in TMP. Currently these are rendered as white boxes. In the polyspatial object it just appears to be empty textures, so it doesn’t seem to be a shader issue. Is there plans to fix this soon? (IN-63608)

  3. Masked element’s polyspatial hover elements don’t respect masks. the glow from the masks (though not the hit zone) go outside the masked area. (IN-63604)

  4. Toggle images don’t enable/disable (or I guess, hide the rendering) of the graphic element associated with them. (like the checkbox). it was kind of odd the way it was handled before, but that seems to have lost its functionality in the PS implementation. (this one is that big of a deal as we easily add something that update on state change, but it would be nice if the base functionality works as expected) (IN-63611)

1&2 are pretty critical for us being able ship on time.

Thanks.

4 Likes

I wasn’t aware that UI masking didn’t work. If that’s the case does that mean that scroll views don’t work? Any alternatives?

Masks work as long as you don’t move/rotate the canvas. If you do, yes, it breaks scrollviews. Which is a huge problem.

2 Likes

This will be fixed in the next (imminent) release.

The others we will look into.

2 Likes

Thank you. The inline icons is pretty critical. The toggle one is annoying, but we can work around if it a fix isn’t imminent.

It turns out that both inline sprites and the toggle issue are pretty easy fixes, although unfortunately they won’t make it into the next release (but we might be able to get them into a bugfix release after that one).

The hover effect issue is going to be trickier, since we don’t have much (or any, really) control over how the hover effect works. It might be possible to do something like enable alpha clipping when the UI component is partially masked.

I submitted a report to Apple about the hover effect being visible when the opacity is zero. It seems like something they might want to fix on their end.

2 Likes

Has this been addressed, or any further plans to fix?

Hasn’t been addressed yet, but we will be able to revisit it soon.

toggle images can be hacked using VisionOSSortingGroup

Toggles work fine. It’s just the unmasked hover states that are still not working.

1 Like