Information on Setting up WorldSpace UI for MR VisionOS

Hello, we have been trying to figure out how to get our UI working and having lots of problems.

I have seen this information in regards to issues with input from Dan Miller

And this information in regards to UGUI being “supported”

And yet, here we have joejo stating

Masks are a pretty important component to most UI, and we use lots of masks in our UI. In fact, as Kapolka says above UGUI components are supported, yet some of those components use masks themselves (like the dropdown and scroll view), which joejo says above are not currently supported (?!).

It is also confusing that things require colliders to function per Dan Miller, yet again kapolka states that UGUI components should just work as they are.

We are aware of the “Spatial UI” examples provided in the SpatialUI Scene and are extending those to fit our needs. But the dropdown example doesn’t work the way we expect our drop downs to work, and there is no example or hint of a way to do a scroll view in these examples.

So, we are looking for guidance on how we should be building our worldspace UI for VisionOS, because as it stands, it’s a bit confusing. Even including an example of a worldspace UI in the MR PolySpatial examples would suffice.

In reference to the mask issue, what we don’t support is non-rect masking. You can use a Mask, but at this time all we do is confine the masking to the overlapping rectangle as opposed to some arbitrary shape mask.

You should be able to use a UGUI scroll view just fine in you World Space UI. What issues are you seeing with that at this time?

It doesn’t function. The mask on the Scroll View states it is not supported and doesn’t mask things. We can’t scroll, the entire thing doesn’t seem to take any input whatsoever. Does it need to have a collider per Dan Miller’s direction?

ScrollView

You are running into an issue with nested rect masks that we know about and will be fixed in a future release.