VR app only showing environment in desktop window, but in VR everything is black. :(

4.5

Question

I created a simple VR app using Gemini. Everything seems to work, except the actual VR environment not being shown on the headset.
When starting the app via any way (see below), it brings me to a dark environment while the expected environment is being shown in a window on the desktop.

I’m using:

  • Quest 3 via Virtual Desktop Streamer
  • I have activated OpenXR and Shaders in the project settings.
  • Gemini says there should be an OpenXR option in the Windows export settings, which I can’t find.
  • it doesn’t work from Godot (Play button), not as executable from Virtual Desktop Streamer (right click → start), not when added to the SteamVR library.
  • Steam VR Games work without any issue.
  • SteamVR is set as OpenXR runtime

Does anyone have any idea regarding what could help?

1 Like

I’m fairly new to this development myself, but reviewing the documentation on the topic:

  1. Did you add the necessary code to your root node?
  2. Did you set up the world environment/directional light nodes? The documentation mentions you may find yourself in a “dark world” without those.
1 Like

It was the necessary code in the root node! Thanks so much, I completely overlooked it in the documentation (however I managed to do that will forever remain a mystery)!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.