Forum Discussion
CMGearVR
2 years agoHonored Guest
.apk Upload Failed "Cannot read properties of undefined..."
In trying to upload our .apk file to Meta Quest Developer I'm getting this error. App was developed in Unity 2022.3.18f1 Log below: 2024-07-29T17:57:41.968Z [DEBUG] Run args: {...
loris.toia
2 years agoExplorer
I got the same issue after adding in my Custom AndroidManifest
android:screenOrientation="landscape"
this is the full AndroidManifest.xml
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" 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" android:exported="true" android:screenOrientation="landscape" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="com.oculus.intent.category.VR" />
</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" />
<meta-data android:name="com.oculus.ossplash.background" android:value="black" />
<meta-data android:name="com.oculus.telemetry.project_guid" android:value="32805e4e-34ad-4397-937f-a3abd16414a5" />
<meta-data android:name="com.oculus.supportedDevices" android:value="quest|quest2|questpro" tools:replace="android:value" />
</application>
<uses-feature android:name="android.hardware.vr.headtracking" android:version="1" android:required="true" />
</manifest>
before the add i was getting the error about non orizontal orientation
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device