Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Failing at creating OBB for oculus

Discussion in 'Editor & General Support' started by fefete92, Sep 27, 2017.

  1. fefete92

    fefete92

    Joined:
    Feb 8, 2017
    Posts:
    3
    Hello everyone.

    I'm having problems when building an app for Oculus which OBB is more than 2GB, I know google play store limit is 2GB, but Oculus limit to upload to store is 4 but when I'm trying to build the APK with the OBB, it fails.

    Is Unity limit for OBB building also 2GB?

    This is the error message I get

    CommandInvokationFailure: Android Asset Packaging Tool failed.
    C:\NVPACK\android-sdk-windows\build-tools\25.0.2\aapt.exe package -v -f -F rawobb.ap_ -A rawobb -0 "" --ignore-assets "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"

    stderr[
    ERROR: Zip flush failed, archive may be hosed
    ERROR: packaging of 'rawobb.ap_' failed
    ]
    stdout[
    Found 3 custom asset files in rawobb
    Configurations:
    (default)

    Files:
    assets\bin\Data\data.unity3d
    Src: () rawobb\bin\Data\data.unity3d
    assets\bin\Data\resources.resource
    Src: () rawobb\bin\Data\resources.resource
    assets\XXXX-Mix_1.tbe
    Src: () rawobb\XXXX-Mix_1.tbe

    Resource Dirs:
    Creating 'rawobb.ap_'
    Writing all files...
    'assets/XXXX-Mix_1.tbe' (not compressed)
    'assets/bin/Data/data.unity3d' (not compressed)
    'assets/bin/Data/resources.resource' (not compressed)
    Generated 3 files
    Included 0 files from jar/zip files.
    Checking for deleted files
    Removing rawobb.ap_ due to earlier failures
    ]
    exit code: 1
    UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
    UnityEditor.Android.PostProcessor.Tasks.TasksCommon.Exec (System.String command, System.String args, System.String workingdir, System.String errorMsg)
    UnityEditor.Android.PostProcessor.Tasks.AAPTPackage.AAPTPack (UnityEditor.Android.PostProcessor.PostProcessorContext context, System.String apkName, System.String directory, Boolean compress)
    UnityEditor.Android.PostProcessor.Tasks.AAPTPackage.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)
    UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context)
    UnityEditor.HostView:OnGUI()



    Thank you very much
     
    tenderclawsJK likes this.
  2. LighthouseVR

    LighthouseVR

    Joined:
    Oct 13, 2015
    Posts:
    4
    tenderclawsJK likes this.
  3. Nanie

    Nanie

    Joined:
    Mar 30, 2015
    Posts:
    3
    Same problem here... anyone solved the problem?
     
    tenderclawsJK likes this.
  4. juhainamtc

    juhainamtc

    Joined:
    Nov 26, 2018
    Posts:
    2
    Im having the same problem. anyone solved this??
     
unityunity