Description

Apps built starting 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 implemented this but rolled back in 0.19.1.1 because of a memory leak caused by OpenXR plugin 1.9.1. This leak has been fixed in subsequent versions of the OpenXR plugin. 



Workaround

Update to OpenXR versions higher than 1.9.1. This may have unintended side effects as the current supported version is 1.8.2.


Additional Resources

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