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. Dismiss Notice

Feedback App not Loading after Splitting the apk and obb file from Play Store.

Discussion in 'Android' started by param_appm, Nov 29, 2019.

  1. param_appm

    param_appm

    Joined:
    Jun 14, 2017
    Posts:
    41
    Hello,

    I am trying to make my app update on playstore through unity, at my earlier builds my apk was less than 100mb so I could easily upload it to playstore.

    This time i am having apk size 184mb so I made split apk to upload. After the successful completion of rolling out. When i downloaded my app through playstore it gets stuck. At my initial research I found that to read the external .obb we have to take read permissions.

    I already had this in my app. I am getting no error when i see the logs.

    The same build as full apk is working fine but not the split apk.

    I am attaching link to my internal app for testing .
    https://play.google.com/apps/internaltest/4700176736200004411

    Extra information:- My app contains Google ArCore

    It will be great if someone can assist me to fix this issue.

    Looking forward hearing back !

    Regards,
    Paramjot Singh
     
  2. JuliusM

    JuliusM

    Unity Technologies

    Joined:
    Apr 17, 2013
    Posts:
    824
    Hi, have you uploaded the .obb file to the Google Playstore as well? Does your build work locally if you do "build and run" in Unity and let Unity to run the application on the device connected to the computer?
     
  3. param_appm

    param_appm

    Joined:
    Jun 14, 2017
    Posts:
    41
    Hello Julius,

    Yeah I uploaded the obb file to the google Play store.

    The build works fine locally if I build and run in Unity and let unity run the application on the device connected to the computer.

    Regards,
    Paramjot Singh
     
  4. JuliusM

    JuliusM

    Unity Technologies

    Joined:
    Apr 17, 2013
    Posts:
    824
    Do you also split apk by architecture? (do you get multiple apk files after making a build?) If you do, you should upload the same obb file with each of the apk that you upload to Google play. Google Play will likely show a warning that the obb file was already uploaded, however you have to do that for each apk file split by the architecture.
     
  5. param_appm

    param_appm

    Joined:
    Jun 14, 2017
    Posts:
    41
    Hello,

    Yeah I split the apk by architecture as you mentioned.

    The problem I am getting is that, my app doesn't read .obb after being installed from Google play store. The app get stuck on Splash Screen.

    Regards,
    Paramjot Singh
     
  6. MAWMatt

    MAWMatt

    Joined:
    Nov 10, 2016
    Posts:
    75
    I'm having the same problem apparently. For now I think I'll just go back to having a single APK file, it's only a 20MB difference. I don't quite get why it's not working, however. I uploaded the OBB for one APK and assigned it to the other, so both should technically have a reference to it. The download was roughly 450MB so it definitely downloaded the OBB, but at the point where my app would use/load it, it just hangs.
     
  7. aubreypuan

    aubreypuan

    Joined:
    Mar 30, 2017
    Posts:
    9
    I have encountered this issue too, it's pretty deadly, any helps is appreciated. So far the information I got from the players is they are using older devices with android version before 6.0.