Build for Samsung Galaxy XR
DEVICE ROUTE / ANDROID XR
Use a separate export preset for Galaxy XR. It shares the Android packaging tools with Quest, but the vendor plugin and the way players reach buttons are different. Someone who buys the headset may have no physical controllers.
01. Use Godot 4.6.2 or later and a compatible Godot OpenXR Vendors Plugin 5.1 or later, as specified by Android’s Godot integration guide. The inspected PCA source targets Godot 4.7.2. Install the vendor plugin in the exported project so the AndroidXR preset options appear.
02. Duplicate the original Android preset, name it Galaxy XR, and retain ARM64 and the include filters. Install the Android build template. In the preset turn on Use Gradle Build, set XR Mode to OpenXR and select Enable AndroidXR Plugin. Keep vendor choices scoped to this preset. Build a debug APK.
03. Enable developer options and USB debugging on the headset, connect it by USB and authorize the computer. Choose the device in Godot or install with ADB. Open the app, turn your head and lean past a nearby object. A floating ordinary Android window means the immersive route still needs attention.
04. For physical controllers, pair the dedicated Galaxy XR controllers in the headset settings. Start with PCA Generic. Android XR supports the Oculus Touch controller profile for tracked controllers. Inspect the actual reported inputs on the headset. Confirm pointer tracking, trigger, grip release, face buttons and the stick fix before putting button names in a tutorial prompt.
Google’s setup guide advises removing the Simple Controller profile if present to avoid a Galaxy XR controller conflict. Make that change in a saved copy of the Galaxy map. The generated 4.7.2 map inspected here had a distinct Generic controller profile. Those two profile names are different.
