Hi, everyone. I'm new to Godot and I'm trying to put the UI in 3D environment. I want to render UI(the one in 2D scene) i got it from Dialogue Node into the 3D env.
I have created a OpenXRCompositonalLayer(where I want the dialogue to be displayed) and a subviewportcontainer to put the UI into the layer. However, when I looked at the main scene, it seems like its being rendered(2nd screenshot) but when I played the scene in headset, its just completely gray. I have tried to change the options in Render Target, Viewport from the inspector and nothing seems to work. I have also noticed that the dialogue was showing in the subviewport but its showing nothing on the 2D scene(1st screenshot). Any feedback would be appreciated! Thank you.