Unity Editor version: 2022.3.27f1 ML2 OS version: 1.7.0 Unity SDK version: 2.2.0 Host OS: Windows 11
When I build the Unity examples project to the device, everything works as expected and the UI is transparent.
I've created a simple project containing just a primitive cube and I duplicated the settings and XR-Rig from the Unity examples project but when I build to the same device, the background is opaque.
Changing the Global Dimmer and Segmented Dimmer settings have no effect on this.
Hi @kbabilinski and thank you for getting back to me so quickly!
We are using URP in this project. I have verified that post processing and HDR are disabled. For the record, post processing is NOT disabled in the Unity examples project and everything works as expected.
Disabling segmented dimming in the device settings sort of fixes the issue but I suspect there's something else going on. When I record a video of myself using the Unity examples project, it records the room that I'm in. When I do the same with my simple project, the room is not recorded and the environment is completely black with just the cube and the line renderer/pointer.
The issue you are seeing is that an effect or graphics setting is clearing the frame's alpha value. Unity is aware of this issue and is looking at adding support for handling alpha in post-processing in the future.
Are you using the XR Rig imported from the Magic Leap SDK Sample Inputs & Rig?
I have taken that step already and the results are the same. I think I've done most everything to make my project identical to the Examples project; though I'm sure there's something I missed.