cancel
Showing results for 
Search instead for 
Did you mean: 

Unity Split Binary Causes APK to Not Open

Ty_BorG
Honored Guest

I posted this in OpenXR thread, but think this is more of just a quest question. I am building my game using OpenXR for the Quest 2. Everything works in editor and plays and runs fine on PC with Link Cable connected. I tried to build the full game in one apk but that was around 3.5 GB, too big to upload with adb. I was able to get a smaller build with just my menu scene working, so I know the first scene works. When I try to build with Split Application Binary, it successfully builds, gives me a 300 mb apk which i can upload to the headset, and gives me a ~3.5GB obb file. I load both onto the headset, with the obb in the correct location. But when I try to run the apk I only see the three loading dots(the loading the shows for a couple second when opening a game) on the Oculus and the app never opens. I am unsure how to fix this issue. I tried ADB Logcat and can't seem to find any error popping up. Any Suggestions

2 REPLIES 2

HannahFXP
Honored Guest

Try renaming the obb file to match this format:
main.[version-code].[android-package-name].obb

 

TechProBeast
Honored Guest

If obb name is not in correct format then we can face this issue . Name should be main.versioncode.package.obb 

Ref: