Forum Discussion

Lucashijman6's avatar
Lucashijman6
Explorer
3 years ago
Solved

Upload failed - Build upload error

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).

  • 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).

12 Replies

  • 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

  • same here, i don't know if this is some sort of issue on meta's end, but oh my god is it annoying.

    • Lucashijman6's avatar
      Lucashijman6
      Explorer

      Thanks for the reply. The event name API_ERROR in the log makes me indeed think it's on Meta's end.

    • bpears's avatar
      bpears
      Explorer

      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.

  • I have the exact same issue even after trying 2.7.2

  • Status update: the problem still occurs as of ODH version 3.0.1. A recent discovery makes me think it's on Godot's end (forget what I said earlier about the API). A Unity build in the same circumstances uploads perfectly fine.

  • 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).

  • Steps to fix-

    Step 1 Find Out If the HTTP Error is Temporary
    Step 2 Rename Your Files
    Step 3 Add Code to Modify WordPress Image Editors
    Step 4 Deactivate Your Website Plugins
    Step 5 Increase Your Server Memory

     

    Regards,

    Rachel Gomez