cancel
Showing results for 
Search instead for 
Did you mean: 

.apk Upload Failed "Cannot read properties of undefined..."

CMGearVR
Honored Guest

In trying to upload our .apk file to Meta Quest Developer I'm getting this error.

App was developed in Unity 2022.3.18f1

 

thumbnail_image.png



Log below: 

 

2024-07-29T17:57:41.968Z [DEBUG] Run args: {"appId":7175246605911412,"apkPath":"G:\\DOCS\\DocumentationRepo\\ITS\\XR\\VR\\2024 CM VR App Updates\\APK Files\\2024-07-22 PUBLIC Cleveland Metroparks VR APK file\\metroparks.panoviewer.public.apk","channel":"ALPHA:quest2only|questproonly|quest3+","draft":true,"excludeAddons":false,"inheritAssetFiles":false,"isODH":true,"uploadFromEngine":false,"token":"(removed)","uploadConcurrency":null,"platform":"ANDROID_6DOF","disableProgressBar":true}
2024-07-29T17:57:42.129Z [DEBUG] Server log: {"app_id":7175246605911412,"client":"ODH","log_level":"DEBUG","event_name":"COMMAND_PARAMS","stack_trace":"at Object._log (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Object.debug (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js\nat processTicksAndRejections (node:internal/process/task_queues:96:5)","extra":"{\"appId\":7175246605911412,\"apkPath\":\"G:\\\\DOCS\\\\DocumentationRepo\\\\ITS\\\\XR\\\\VR\\\\2024 CM VR App Updates\\\\APK Files\\\\2024-07-22 PUBLIC Cleveland Metroparks VR APK file\\\\metroparks.panoviewer.public.apk\",\"channel\":\"ALPHA:quest2only|questproonly|quest3+\",\"draft\":true,\"excludeAddons\":false,\"inheritAssetFiles\":false,\"isODH\":true,\"uploadFromEngine\":false,\"token\":\"(removed)\",\"uploadConcurrency\":null,\"platform\":\"ANDROID_6DOF\",\"disableProgressBar\":true,\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.98.0.000001\",\"compatibility_version\":2,\"session_id\":\"7175246605911412_2024-07-29T17:57:41.967Z\",\"command\":\"upload-quest-build\",\"app_id\":7175246605911412}","platform":"ANDROID_6DOF","cli_version":"1.98.0.000001","session_id":"7175246605911412_2024-07-29T17:57:41.967Z","binary_id":"","duration":null,"is_patch_upload":0,"duration_since_session_start":162}
2024-07-29T17:57:43.532Z [WARN] 
🟡 WARNINGS:
• Quest 1 support is automatically disabled for apps created after 04/30/2024. Please refer to this post for more details: https://developer.oculus.com/blog/changes-coming-quest-1-2023-meta/
• Your manifest includes the following permissions restricted by Oculus:
 - android.permission.BLUETOOTH_SCAN
 - android.permission.BLUETOOTH_CONNECT
 - android.permission.BLUETOOTH_ADVERTISE
Please remove these permissions if they are not needed by your application. If they are needed, you must include justification in the “Notes for the Reviewer” field when submitting your application for review. Failure to provide justification will result in the rejection of your application.
• This APK includes libUnityOpenXR.so, but not libOVRPlugin.so.  The Unity native OpenXR plugin is not yet fully production ready.  If you are experiencing performance or compatibility issues, please enable the Oculus XR plugin (and disable the OpenXR plugin) in your project.
2024-07-29T17:57:43.532Z [DEBUG] Server log: {"app_id":7175246605911412,"client":"ODH","log_level":"DEBUG","event_name":"UPLOAD_PREVALIDATION_SUCCESS","stack_trace":"at Object._log (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Object.debug (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js\nat processTicksAndRejections (node:internal/process/task_queues:96:5)","extra":"{\"warnings\":[\"Quest 1 support is automatically disabled for apps created after 04/30/2024. Please refer to this post for more details: https://developer.oculus.com/blog/changes-coming-quest-1-2023-meta/\",\"Your manifest includes the following permissions restricted by Oculus:\\n - android.permission.BLUETOOTH_SCAN\\n - android.permission.BLUETOOTH_CONNECT\\n - android.permission.BLUETOOTH_ADVERTISE\\nPlease remove these permissions if they are not needed by your application. If they are needed, you must include justification in the “Notes for the Reviewer” field when submitting your application for review. Failure to provide justification will result in the rejection of your application.\",\"This APK includes libUnityOpenXR.so, but not libOVRPlugin.so.  The Unity native OpenXR plugin is not yet fully production ready.  If you are experiencing performance or compatibility issues, please enable the Oculus XR plugin (and disable the OpenXR plugin) in your project.\"],\"time\":1101,\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.98.0.000001\",\"compatibility_version\":2,\"session_id\":\"7175246605911412_2024-07-29T17:57:41.967Z\",\"command\":\"upload-quest-build\",\"app_id\":7175246605911412,\"platform\":\"ANDROID_6DOF\"}","platform":"ANDROID_6DOF","cli_version":"1.98.0.000001","session_id":"7175246605911412_2024-07-29T17:57:41.967Z","binary_id":"","duration":1101,"is_patch_upload":0,"duration_since_session_start":1565}
2024-07-29T17:57:43.636Z [WARN] 
✅ Successfully Validated Build
2024-07-29T17:57:43.785Z [DEBUG] Server log: {"app_id":7175246605911412,"client":"ODH","log_level":"DEBUG","event_name":"UPLOAD_CONFIG","stack_trace":"at Object._log (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Object.debug (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js\nat processTicksAndRejections (node:internal/process/task_queues:96:5)\nat async C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js","extra":"{\"response\":{\"has_shared_asset_files\":false},\"time\":149,\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.98.0.000001\",\"compatibility_version\":2,\"session_id\":\"7175246605911412_2024-07-29T17:57:41.967Z\",\"command\":\"upload-quest-build\",\"app_id\":7175246605911412,\"platform\":\"ANDROID_6DOF\"}","platform":"ANDROID_6DOF","cli_version":"1.98.0.000001","session_id":"7175246605911412_2024-07-29T17:57:41.967Z","binary_id":"","duration":149,"is_patch_upload":0,"duration_since_session_start":1818}
2024-07-29T17:57:43.882Z [DEBUG] 
⬆  Retrieving upload files
2024-07-29T17:57:43.894Z [DEBUG]    APK: 47.9MB
2024-07-29T17:57:43.894Z [DEBUG] Server log: {"app_id":7175246605911412,"client":"ODH","log_level":"DEBUG","event_name":"RETRIEVE_UPLOAD_FILES","stack_trace":"at Object._log (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Object.debug (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat x (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat async C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js\nat async C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js","extra":"{\"num\":1,\"time\":12,\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.98.0.000001\",\"compatibility_version\":2,\"session_id\":\"7175246605911412_2024-07-29T17:57:41.967Z\",\"command\":\"upload-quest-build\",\"app_id\":7175246605911412,\"platform\":\"ANDROID_6DOF\"}","platform":"ANDROID_6DOF","cli_version":"1.98.0.000001","session_id":"7175246605911412_2024-07-29T17:57:41.967Z","binary_id":"","duration":12,"is_patch_upload":0,"duration_since_session_start":1927}
2024-07-29T17:57:44.000Z [DEBUG] Server log: {"app_id":7175246605911412,"client":"ODH","log_level":"DEBUG","event_name":"PATCH_GENERATION","stack_trace":"at Object._log (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Object.debug (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Object._ [as genPatch] (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat async D (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat async C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js\nat async C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js","extra":"{\"is_patch_upload\":false,\"time\":0,\"patch_size\":0,\"original_file_size\":50205207,\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.98.0.000001\",\"compatibility_version\":2,\"session_id\":\"7175246605911412_2024-07-29T17:57:41.967Z\",\"command\":\"upload-quest-build\",\"app_id\":7175246605911412,\"platform\":\"ANDROID_6DOF\"}","platform":"ANDROID_6DOF","cli_version":"1.98.0.000001","session_id":"7175246605911412_2024-07-29T17:57:41.967Z","binary_id":"","duration":null,"is_patch_upload":0,"duration_since_session_start":2033}
2024-07-29T17:57:44.361Z [DEBUG] Server log: {"app_id":7175246605911412,"client":"ODH","log_level":"DEBUG","event_name":"GENERATE_UPLOAD_CHUNKS","stack_trace":"at Object._log (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Object.debug (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat D (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat processTicksAndRejections (node:internal/process/task_queues:96:5)\nat async C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js\nat async C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js","extra":"{\"num\":1,\"total_size\":50205207,\"time\":362,\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.98.0.000001\",\"compatibility_version\":2,\"session_id\":\"7175246605911412_2024-07-29T17:57:41.967Z\",\"command\":\"upload-quest-build\",\"app_id\":7175246605911412,\"platform\":\"ANDROID_6DOF\"}","platform":"ANDROID_6DOF","cli_version":"1.98.0.000001","session_id":"7175246605911412_2024-07-29T17:57:41.967Z","binary_id":"","duration":362,"is_patch_upload":0,"duration_since_session_start":2394}
2024-07-29T17:57:44.463Z [DEBUG] Server log: {"app_id":7175246605911412,"client":"ODH","log_level":"DEBUG","event_name":"UPLOAD_START","stack_trace":"at Object._log (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Object.debug (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat y (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Function.from (<anonymous>)\nat Object.genUploadChunksConcurrently (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js\nat processTicksAndRejections (node:internal/process/task_queues:96:5)\nat async C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js","extra":"{\"is_patch_upload\":false,\"patch_size\":0,\"original_file_size\":50205207,\"file_name\":\"metroparks.panoviewer.public.apk\",\"binary_type\":\"apk\",\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.98.0.000001\",\"compatibility_version\":2,\"session_id\":\"7175246605911412_2024-07-29T17:57:41.967Z\",\"command\":\"upload-quest-build\",\"app_id\":7175246605911412,\"platform\":\"ANDROID_6DOF\"}","platform":"ANDROID_6DOF","cli_version":"1.98.0.000001","session_id":"7175246605911412_2024-07-29T17:57:41.967Z","binary_id":"","duration":null,"is_patch_upload":0,"duration_since_session_start":2496}
2024-07-29T17:57:46.983Z [DEBUG] Server log: {"app_id":7175246605911412,"client":"ODH","log_level":"DEBUG","event_name":"EXPANSION_FILES_UPLOAD_COMPLETE","stack_trace":"at Object._log (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Object.debug (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js\nat runMicrotasks (<anonymous>)\nat processTicksAndRejections (node:internal/process/task_queues:96:5)\nat async C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js","extra":"{\"time\":2520,\"original_file_size\":50205207,\"files_num\":1,\"file_names\":[\"metroparks.panoviewer.public.apk\"],\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.98.0.000001\",\"compatibility_version\":2,\"session_id\":\"7175246605911412_2024-07-29T17:57:41.967Z\",\"command\":\"upload-quest-build\",\"app_id\":7175246605911412,\"platform\":\"ANDROID_6DOF\"}","platform":"ANDROID_6DOF","cli_version":"1.98.0.000001","session_id":"7175246605911412_2024-07-29T17:57:41.967Z","binary_id":"","duration":2520,"is_patch_upload":0,"duration_since_session_start":5016}
2024-07-29T17:57:47.080Z [DEBUG] 
⬆  Uploading APK
2024-07-29T17:57:47.462Z [DEBUG] Server log: {"app_id":7175246605911412,"client":"ODH","log_level":"DEBUG","event_name":"SUBMIT_BINARY","stack_trace":"at Object._log (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Object.debug (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Object.w [as genSubmitBinary] (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat runMicrotasks (<anonymous>)\nat processTicksAndRejections (node:internal/process/task_queues:96:5)\nat async C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js\nat async C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js","extra":"{\"upload_session_id\":\"862205865818878\",\"file_name\":\"metroparks.panoviewer.public.apk\",\"obb_id\":\"\",\"asset_files_ids\":[],\"language_pack_ids\":[],\"debug_symbol_ids\":[],\"binary_type\":\"apk\",\"response\":{\"success\":false,\"chunks_remaining\":[{\"start_offset\":\"0\",\"end_offset\":\"10000000\"}]},\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.98.0.000001\",\"compatibility_version\":2,\"session_id\":\"7175246605911412_2024-07-29T17:57:41.967Z\",\"command\":\"upload-quest-build\",\"app_id\":7175246605911412,\"platform\":\"ANDROID_6DOF\"}","platform":"ANDROID_6DOF","cli_version":"1.98.0.000001","session_id":"7175246605911412_2024-07-29T17:57:41.967Z","binary_id":"","duration":null,"is_patch_upload":0,"duration_since_session_start":5495}
2024-07-29T17:57:47.577Z [ERROR] 

❌ ERROR: An unexpected error occurred
2024-07-29T17:57:47.577Z [ERROR] Server log: {"app_id":7175246605911412,"client":"ODH","log_level":"ERROR","event_name":"UNEXPECTED_ERROR","stack_trace":"TypeError: Cannot read properties of undefined (reading 'eventStart')\n    at y (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\n    at Function.from (<anonymous>)\n    at Object.genUploadChunksConcurrently (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\n    at C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n    at async C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js","extra":"{\"caught\":true,\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.98.0.000001\",\"compatibility_version\":2,\"session_id\":\"7175246605911412_2024-07-29T17:57:41.967Z\",\"command\":\"upload-quest-build\",\"app_id\":7175246605911412,\"platform\":\"ANDROID_6DOF\"}","platform":"ANDROID_6DOF","cli_version":"1.98.0.000001","session_id":"7175246605911412_2024-07-29T17:57:41.967Z","binary_id":"","duration":null,"is_patch_upload":0,"duration_since_session_start":5610}
2024-07-29T17:57:47.700Z [ERROR] Server log: {"app_id":7175246605911412,"client":"ODH","log_level":"ERROR","event_name":"COMMAND_FAILED","stack_trace":"TypeError: Cannot read properties of undefined (reading 'eventStart')\n    at y (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\n    at Function.from (<anonymous>)\n    at Object.genUploadChunksConcurrently (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\n    at C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n    at async C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js","extra":"{\"caught\":true,\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.98.0.000001\",\"compatibility_version\":2,\"session_id\":\"7175246605911412_2024-07-29T17:57:41.967Z\",\"command\":\"upload-quest-build\",\"app_id\":7175246605911412,\"platform\":\"ANDROID_6DOF\"}","platform":"ANDROID_6DOF","cli_version":"1.98.0.000001","session_id":"7175246605911412_2024-07-29T17:57:41.967Z","binary_id":"","duration":null,"is_patch_upload":0,"duration_since_session_start":5733}

 

 

4 REPLIES 4

loris.toia
Explorer

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

technotic
Protege

Have you tried running your apk in developer mode with debugging on? Can you sideload it and run it? I don't have your source so I can't tell exactly what's going on, but it looks like, aside from the other issues, you're requesting permissions you shouldn't unless for a very specific reason, you're building for compatibility across all 3 headsets maybe? And you're explicitly using openxr and no OVR. Not saying this to be offensive, but these 3 things make me think that you're trying to port code or slapped together some code using some tutorial, and not 100% sure what you're doing. And that's fine if you're learning. But if you're doing a build for GearVR or generic for all android VR platforms (and thus the reason for using openxr and not OVR) you're not going to pass review even if it worked.

 

What device(a) are you intending to target and does your build work at all when you sideload it?

fixationstudios
Honored Guest

I'm in the same boat. The generic message doesn't direct you anywhere. All tests locally run fine. If this is caused by having OpenXR active in the project, then I can use that. But current error is to generic to troubleshoot. Any helpful info or direction would be great.

fixationstudios
Honored Guest

OK. Was able to resolve. Only 2 things you have to make sure are in your project settings for Unreal:

  1. "Remove Oculus Signature Files from Distribution APK" - is Unchecked
  2. In Platform Settings for Android, "Install Location" must be set to Auto