Description

Apps built with Snapdragon Spaces 0.17.0 may experience a bug where the internet connection is not working. This affects debugging and profiling via adb Wi-Fi, as well as general usage of internet connections.


Cause

The Meta Quest OpenXR plugin which is delivered together with Unity's OpenXR plugin has a bug that removes the internet permission (android.permission.INTERNET) from the android manifest. Starting Spaces 0.17.0, OpenXR 1.6.0 is required which is affected by the bug.

Even if Meta Quest Support is not enabled the option to force remove the internet permission is active. 


Affected Versions

Reports show OpenXR plugin version 1.6.0 - 1.8.2 are affected. 

Snapdragon Spaces 0.16.0 and 0.17.0 are affected. 

Unity has fixed this bug with OpenXR plugin version 1.9.1.

Snapdragon Spaces 0.19.1 is not affected anymore.



Workaround

If the Unity Project uses OpenXR Pugin version 1.9.1 or later select Meta Quest Support under Project Settings > XR Plug-in Management > OpenXR and uncheck Force Remove Internet Permission.


An upcoming release of Snapdragon Spaces will require OpenXR 1.9.1 per default. You may try to upgrade the version of the OpenXR Plugin in existing projects by modifying the file Pagckages/manifest.json:

"com.unity.xr.openxr": "1.9.1"

Note that this version of Unity's OpenXR plugin has not been validated for versions of Snapdragon Spaces that are publicly available at this moment and you may encounter other issues by upgrading. 


If you choose to stay with a version of OpenXR > 1.9.1 you may change the Android manifest in a post gradle callback script and add the internet permission again after it's been removed by Unity. 


Additional Resources

Unity Issue Tracker - [OpenXR] Option ForceRemoveInternetPermission is enabled by default when the OpenXR package is added (unity3d.com)