cancel
Showing results for 
Search instead for 
Did you mean: 

Upload failed- copy of Oculus Platform Command Line Utility is old. permission restricted by Oculus

weberwu
Honored Guest

Recently, I changed my laptop from Mac to Window. Original Unity version installed in my Mac was 2021.2. However, when I got my new laptop, I can only install 2021.3.4f1. I backed up all of my files, the whole folder from Mac. Currently, I can finally build my original project on Unity 2021.3. When I tried to upload my modified app through ODH, it shows 

 

022-06-27T12:30:20.091Z [DEBUG] Run args: {"appId":508*****719*****,"apkPath":"D:\\Unity Project\\MyProject\\MyProject_v2.0.apk","channel":"ALPHA","draft":false,"excludeAddons":false,"inheritAssetFiles":false,"isODH":true,"token":"(removed)","uploadConcurrency":null,"platform":"ANDROID_6DOF"}
2022-06-27T12:30:20.382Z [DEBUG] *******************************************************************************
* Your copy of Oculus Platform Command Line Utility is old. *
* Version 1.76.0.000001 has been released on Fri Jun 24 2022. *
* Please use the following command to update it: *
* > ..\..\Users\bette\AppData\Roaming\odh\ovr-platform-util.exe self-update *
*******************************************************************************
2022-06-27T12:30:20.383Z [DEBUG] Server log: {"app_id":5081216671915741,"log_level":"DEBUG","event_name":"COMMAND_PARAMS","stack_trace":"at Object._log (C:\\snapshot\\boxes\\C_ZcygwinZdataZsandcastleZboxesZtrunk-hg-full-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Object.debug (C:\\snapshot\\boxes\\C_ZcygwinZdataZsandcastleZboxesZtrunk-hg-full-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat C:\\snapshot\\boxes\\C_ZcygwinZdataZsandcastleZboxesZtrunk-hg-full-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\\boxes\\C_ZcygwinZdataZsandcastleZboxesZtrunk-hg-full-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js","extra":"{\"appId\":5081216671915741,\"apkPath\":\"D:\\\\Unity Project\\\\MyProject\\\\MyProject\_v2.0.apk\",\"channel\":\"ALPHA\",\"draft\":false,\"excludeAddons\":false,\"inheritAssetFiles\":false,\"isODH\":true,\"token\":\"(removed)\",\"uploadConcurrency\":null,\"platform\":\"ANDROID_6DOF\",\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.76.0.000001\",\"compatibility_version\":2,\"app_id\":508*****719*****,\"session_id\":\"508*****719*****-06-27T12:30:20.382Z\"}"}
2022-06-27T12:30:20.685Z [DEBUG]
Validating build...
2022-06-27T12:30:21.503Z [DEBUG]

NOTE:
Your manifest includes the following permissions restricted by Oculus:
- android.permission.RECORD_AUDIO
- android.permission.MODIFY_AUDIO_SETTINGS
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.
APK is debuggable (android:debuggable in AndroidManifest.xml). NOTE: you may only distribute debuggable APKs through private channels.
2022-06-27T12:30:21.503Z [DEBUG]
Preparing for upload...
2022-06-27T12:30:21.810Z [DEBUG] Server log: {"app_id":5081216671915741,"log_level":"DEBUG","event_name":"UPLOAD_CONFIG","stack_trace":"at Object._log (C:\\snapshot\\boxes\\C_ZcygwinZdataZsandcastleZboxesZtrunk-hg-full-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Object.debug (C:\\snapshot\\boxes\\C_ZcygwinZdataZsandcastleZboxesZtrunk-hg-full-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat C:\\snapshot\\boxes\\C_ZcygwinZdataZsandcastleZboxesZtrunk-hg-full-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\\boxes\\C_ZcygwinZdataZsandcastleZboxesZtrunk-hg-full-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js","extra":"{\"response\":{\"latest_binary_id\":\"5143786292325445\",\"latest_binary_rdiff_signature_uri\":\"https://securecdn.oculus.com/binaries/rdiff-signatures/?binary_id=5143786292325445\",\"has_shared_asset_files\":false},\"time\":306,\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.76.0.000001\",\"compatibility_version\":2,\"app_id\":508*****719*****,\"platform\":\"ANDROID_6DOF\",\"session_id\":\"508*****719*****-06-27T12:30:20.382Z\"}"}
2022-06-27T12:30:21.810Z [DEBUG]
Uploading APK...
2022-06-27T12:30:21.811Z [DEBUG]
Downloading signature of previous build

 

I tried to update foloowing the instruction, however, it showed I am already running the latest version. 

 

"C:\Users\bette\AppData\Roaming\odh>ovr-platform-util.exe self-update

Logs are written to: C:\Users\bette\AppData\Local\Temp\oc_cli__2022-06-27T12-32-17-484Z.log
Checking for the latest version
Already running the latest version 1.76.0.000001"

 

As for the following permissions restricted by Oculus:
- android.permission.RECORD_AUDIO
- android.permission.MODIFY_AUDIO_SETTINGS

 

I googled and tried to removed them, it is not working. 

 

Can anyone help guide me to fix this issue? 

1 REPLY 1

weberwu
Honored Guest

Sorry. Typo. It was 2021.3.2f1. Now it is 2021.3.4f1.