Skip to content

Commit 2c689b0

Browse files
committed
Update exporting to Android XR devices for new loader
1 parent 0be715a commit 2c689b0

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

tutorials/xr/deploying_to_android.rst

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Deploying to Android
55

66
Setup
77
------------
8-
Most mobile headsets run on Android and OpenXR support is making its way to these platforms.
8+
Most standalone headsets run on Android and OpenXR support is making its way to these platforms.
99

1010
Before following the OpenXR-specific instructions here, you'll need to first setup your system to export to Android in general, including:
1111

@@ -35,12 +35,20 @@ You can read more about custom builds here: :ref:`doc_android_custom_build`.
3535

3636
Installing the loader plugins
3737
-----------------------------
38+
39+
.. warning::
40+
The Android plugin structure has been restructured in Godot 4.2, if you've previously installed the loader plugin you need to delete it from the `android/plugins` folder.
41+
The loader plugin available in the asset library is still the old one, it will be updated to the new one after 4.2 is released.
42+
3843
The loaders can be downloaded from the asset library, search for OpenXR Loaders and install the plugin:
3944

4045
.. image:: img/openxr_loader_asset_lib.webp
4146

42-
You will find the installed files inside the **android** folder.
43-
There is a subfolder called **plugins** containing the new files.
47+
You will find the installed files inside the **addons** folder.
48+
49+
Alternatively you can manually install the loader plugin by downloading the v2.x version of the plugin `from the release page here <https://github.com/GodotVR/godot_openxr_loaders/releases>`__.
50+
51+
You will need to copy the `assets/addons/godotopenxr` folder from the zip file into your projects `assets/addons` folder.
4452

4553
You can find the main repository of the loader plugin `here <https://github.com/GodotVR/godot_openxr_loaders>`__.
4654

@@ -58,14 +66,13 @@ If the loader plugins were installed correctly you should find entries for the d
5866

5967
.. image:: img/android_meta_quest.webp
6068

69+
Also change the **XR Mode** to **OpenXR**.
6170

62-
Scroll further down the list until you find the **XR Features** section.
63-
Change the **XR Mode** to **OpenXR**.
71+
Scroll to the bottom of the list and you'll find additional XR feature sections, currently only **Meta XR Features** is available.
6472
The hand tracking and passthrough settings here currently only work for the Meta Quest and you will need to select the appropriate settings if you wish to use these features.
6573

6674
.. image:: img/xr_export_features.webp
6775

68-
6976
Now you can repeat the same process for the other devices.
7077

7178
.. note::
-5.87 KB
Loading
118 Bytes
Loading

0 commit comments

Comments
 (0)