08-27-2022 04:05 AM - edited 09-24-2022 02:20 PM
I'm unable to upload the first release build of my game in Oculus Developer Hub. There's a generic error with no further user feedback on why and what I can do about it.
These are the steps I followed:
1. Download most recent version of ODH (2.7.0)
2. Correctly set up the manifest (as explained on https://developer.oculus.com/resources/publish-mobile-manifest/)
3. Create build of my game in the game engine I use (Godot).
4. Upload build in ODH (or via the OVR platform utility, see my reply on @TonyVT).
Solved! Go to Solution.
11-23-2022 07:11 AM - edited 11-23-2022 07:13 AM
I solved it. Shoutouts to Dan from Oculus Support for helping me out. You need to have this folder in your project with the Oculus OpenXR mobile SDK in it. In there you put the manifest that you get by following this guide: https://developer.oculus.com/resources/publish-mobile-manifest/. You leave the default AndroidManifest.xml file from the Android build template intact except the package name and version code and number (you need to increase the version code and number with every build you upload, but assuming the upload didn't work before this is your first version).
09-07-2022 07:37 AM - edited 09-07-2022 07:44 AM
Upon first trying in v2.7.1 the error changed. It's still not very helpful.
The log file it refers to is too big to show. I think this is the most relevant part:
2022-09-07T14:23:34.077Z [DEBUG] Run args: {"appId":6082539628428979,"apkPath":"C:\\Users\\Lucas Hijman\\Documents\\Afstuderen\\Publicatie\\Oculus App Lab\\2.1.1.apk","channel":"store","draft":false,"excludeAddons":false,"inheritAssetFiles":false,"isODH":true,"notes":"First public iteration of InaniBrutus for VR.","token":"(removed)","uploadConcurrency":null,"platform":"ANDROID_6DOF"}
2022-09-07T14:23:34.327Z [DEBUG] Server log: {"app_id":6082539628428979,"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)\nat async C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js","extra":"{\"appId\":[MY_APP_ID],\"apkPath\":\"C:\\\\Users\\\\Lucas Hijman\\\\Documents\\\\Afstuderen\\\\Publicatie\\\\Oculus App Lab\\\\2.1.1.apk\",\"channel\":\"store\",\"draft\":false,\"excludeAddons\":false,\"inheritAssetFiles\":false,\"isODH\":true,\"notes\":\"First public iteration of InaniBrutus for VR.\",\"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\":6082539628428979,\"session_id\":\"6082539628428979_2022-09-07T14:23:34.327Z\"}"}
2022-09-07T14:23:34.455Z [DEBUG]
Validating build...
2022-09-07T14:23:35.373Z [DEBUG] A server error occurred. The request will be retried.
2022-09-07T14:23:35.374Z [ERROR] Server log: {"app_id":6082539628428979,"log_level":"ERROR","event_name":"API_ERROR","stack_trace":"at Object._log
09-08-2022 05:11 PM
same here, i don't know if this is some sort of issue on meta's end, but oh my god is it annoying.
09-17-2022 06:37 AM
Thanks for the reply. The event name API_ERROR in the log makes me indeed think it's on Meta's end.
09-22-2022 10:06 AM
Same here
09-24-2022 12:59 AM
Same here.I wonder what's happening
09-24-2022 01:04 AM
Actually I've done the upload with the command line utility and it worked! So I suggest you do the same:
09-24-2022 01:55 PM
I have the exact same issue even after trying 2.7.2
09-24-2022 02:17 PM
I also attempted that, but to no avail. Same error.
09-24-2022 03:05 PM - edited 09-24-2022 04:29 PM
EDIT:
It worked using the hub installed on another computer. Hub 2.7.2. Weird thing is, Ive tried uninstalling and deleting app data of 'Oculus Developer Hub' and 'odh'. There must still be some conflicting remnant somewhere that is throwing the app off on my main computer.