Skip to reading
VR Headset Setup & Testing

Package, install and update

Edition 0.86.3.4

Prepare scenes and input for VR, export to a suitable Godot/OpenXR setup, and follow headset-specific packaging and testing routes for Quest, Valve Index and Galaxy XR.

Download PDFView PDF page
On this page

BUILD / COMMAND REFERENCE

The Godot editor’s Export Project button and its command-line exporter use the same named presets. Use the editor first so you can see configuration errors. From the exported Godot folder, create an output folder named dist. These commands assume Godot is on your command path and the presets use the names shown.

Code example
godot --headless --path . --export-debug "Quest VR" dist/quest.apk
Code example
godot --headless --path . --export-debug "Galaxy XR" dist/galaxy.apk
Code example
godot --headless --path . --export-release "Windows Desktop" dist/game.exe

Install on one Android headset#

Code example
adb devices -l
Code example
adb -s SERIAL install -r dist/quest.apk

Replace SERIAL with the device identifier in the first command. For Galaxy XR substitute dist/galaxy.apk. A status of device means ADB can talk to it. unauthorized means the wearer must accept the prompt. An empty list points to the cable, USB mode, driver or developer settings. One-click deploy is convenient once detection works.

Move from a test build to a release#

Use a stable package ID, increase the Android version code and sign with the intended release key. Keep the key backed up. A signed update must use a compatible identity. If a debug copy conflicts, use a separate debug package ID or preserve the test save before removing it. An APK installs directly. An AAB goes through a store or bundle tooling.

Re-test the actual release artifact. For desktop, move the whole build to a clean folder or another PC. For Quest and Galaxy XR, test both a fresh install and an update with an existing save. Consult the target store for current signing, format and submission requirements.

Page 14 of 19Permalink
Go to page