You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/xr/deploying_to_android.rst
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Deploying to Android
5
5
6
6
Setup
7
7
------------
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.
9
9
10
10
Before following the OpenXR-specific instructions here, you'll need to first setup your system to export to Android in general, including:
11
11
@@ -35,12 +35,20 @@ You can read more about custom builds here: :ref:`doc_android_custom_build`.
35
35
36
36
Installing the loader plugins
37
37
-----------------------------
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
+
38
43
The loaders can be downloaded from the asset library, search for OpenXR Loaders and install the plugin:
39
44
40
45
.. image:: img/openxr_loader_asset_lib.webp
41
46
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.
44
52
45
53
You can find the main repository of the loader plugin `here <https://github.com/GodotVR/godot_openxr_loaders>`__.
46
54
@@ -58,14 +66,13 @@ If the loader plugins were installed correctly you should find entries for the d
58
66
59
67
.. image:: img/android_meta_quest.webp
60
68
69
+
Also change the **XR Mode** to **OpenXR**.
61
70
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.
64
72
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.
65
73
66
74
.. image:: img/xr_export_features.webp
67
75
68
-
69
76
Now you can repeat the same process for the other devices.
0 commit comments