Forum Discussion
Rwkeith
5 years agoExplorer
Unity Quest Build not loading (related to AndroidManifest.xml)
Hello, I've been configuring Unity and a new project for the quest. I've noticed that if I don't Create a Store-compatible AndroidManifest.xml, the build loads and runs. However, once I create it, my build just hangs with the Unity loading default screen even though the build is successful. Removing it, allows my build to run on the Quest. Am I not supposed to generate an AndroidManifest.xml unless/until I deploy to the store?
I am hoping this will help me solve my root problem with my project seemingly having no Antialiasing whatsoever, even though I have it configured correctly to 4x AA under Rendering for android in the appropriate quality setting.
Thanks for your help!
I am hoping this will help me solve my root problem with my project seemingly having no Antialiasing whatsoever, even though I have it configured correctly to 4x AA under Rendering for android in the appropriate quality setting.
Thanks for your help!
2 Replies
- RwkeithExplorerOkay, so this explains a bit more:
DeploymentOperationFailedException: No activity in the manifest with action MAIN and category LAUNCHER. Try launching the application manually on the device.
There shouldn't be a reason that I need to manually modify the AndroidManifest file, so what could be the cause of this error? - RwkeithExplorerMy manfiests:<?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="schemas.android.com/apk/res/android" android:installLocation="auto"><application android:label="@string/app_name" android:icon="@mipmap/app_icon" android:allowBackup="false"><activity android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:configChanges="locale|fontScale|keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" android:launchMode="singleTask" android:name="com.unity3d.player.UnityPlayerActivity" android:excludeFromRecents="true"><intent-filter><action android:name="android.intent.action.MAIN" /><category android:name="android.intent.category.INFO" /></intent-filter><meta-data android:name="com.oculus.vr.focusaware" android:value="true" /></activity><meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="false" /><meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only" /></application><uses-feature android:name="android.hardware.vr.headtracking" android:version="1" android:required="true" /></manifest>
It worked again after modifying the manifest to this::- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <manifest xmlns:android="schemas.android.com/apk/res/android"
- android:installLocation="auto">
- <application
- android:label="@string/app_name"
- android:icon="@mipmap/app_icon">
- <activity
- android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
- android:configChanges="locale|fontScale|keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
- android:launchMode="singleTask"
- android:name="com.unity3d.player.UnityPlayerActivity"
- android:excludeFromRecents="true">
- <intent-filter>
- <action android:name="android.intent.action.MAIN"/>
- <category android:name="android.intent.category.LAUNCHER"/>
- </intent-filter>
- </activity>
- <meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="false" />
- <meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/>
- </application>
- </manifest>
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago
- 10 months ago
- 1 year ago