需要做两件事
第一
Go to Project Setting -> XR Plug-in Management -> Open XR
Under Android tab, in the OpenXR Feature Groups. Select the gear symbol for “Meta Quest Support” feature row. This will open the settings editor for that feature
In the settings editor, under “Feature Settings” section there is a sub-section called “Manifest Settings”
Uncheck the “Force Remove Internet” option under the “Manifest Setting” sub-section
第二
Set Internet Access to “Require” in the Projects Settings > Player > Android > Other Settings | Configuration
两步设置修改好后,clean build即可
参考:https://forum.unity.com/threads/unity-removes-android-permission-internet-in-the-build-apk-after-build-is-completed.1466654/