Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question APK too large

Discussion in 'VR' started by nsmith1024, Oct 14, 2022.

  1. nsmith1024


    Mar 18, 2014

    My Oculus Quest 2 app is now past the max file size that meta accepts for Oculus Quest 2 submission to AppLab.

    I read somewhere that there is a way using split files or OBB or something like that (Im not sure), to double the file size that meta accepts, I think up to 4G.

    Can someone please tell me how to do it, what check boxes to check or uncheck in unity when doing the build, and how to get the resulting files into Oculus for testing, and how to to upload the 4G build to meta for approval for AppLab?

  2. jeffries7


    Jun 25, 2014
    You can split your apk into a smaller apk and a supporting obb but the max file size for that is 2GB.

    Even though Oculus accept obb files of 4GB, Unity will not allow you to build ones larger than 2GB....from what I've seen.

    To split your build into these two files go to Project Setting > Player > Publisher Settings, then at the bottom, there is a tick box "Split Application Binary". Checking that will build the project with an apk and obb.

    You can then use whichever tool you're currently using to upload to AppLab, just passing in both files.
    DevDunk likes this.