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

Question Build Size much bigger than build report total user assets

Discussion in 'Editor & General Support' started by AR_Tehcnoplus, Aug 30, 2022.

  1. AR_Tehcnoplus

    AR_Tehcnoplus

    Joined:
    Jan 17, 2022
    Posts:
    15
    Hi

    I am building an AR application with the Vuforia sdk and all the scenes are marked addressable and stored remotely. The build size should be very small since I got two simple scenes locally which are introductory and for loading the other scenes.All the assets are used by the addressable scenes. Based on the build report my assets and packages hold a very small amount of space:

    upload_2022-8-30_12-24-39.png

    upload_2022-8-30_12-24-56.png

    But the final build is 162MB!?

    How is that possible ?
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,992
    Anything in StreamingAssets folder?
     
    ali_ihsann and AR_Tehcnoplus like this.
  3. AR_Tehcnoplus

    AR_Tehcnoplus

    Joined:
    Jan 17, 2022
    Posts:
    15
    Ah, the streaming assets folder is 123Mb and includes the Vuforia Image Targets XML & Dat files. This is the problem ?
     
  4. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,992
    yes, i think build report doesn't include that.. (on those breakdown rows)
     
    AR_Tehcnoplus likes this.
  5. AR_Tehcnoplus

    AR_Tehcnoplus

    Joined:
    Jan 17, 2022
    Posts:
    15
    So, can the streaming assets be an addressable ?
     
  6. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,992
    no idea how vuforia tries to access them, or if its possible to modify their data loading scripts..or that do they need to be inside streamingassets even. Maybe check from vuforia support/forum.
     
  7. AR_Tehcnoplus

    AR_Tehcnoplus

    Joined:
    Jan 17, 2022
    Posts:
    15
    I managed to delete some unused files from the streaming assets so this will fix my issue. Thank you for your help !
     
    mgear likes this.
  8. ennakhlijalal2000

    ennakhlijalal2000

    Joined:
    Jul 14, 2021
    Posts:
    1
    Hi!
    I'm facing the same problem; Total User Assets is 16.9MB, but the APK size 273MB. I'm also using addressables. Did you solve the issue?
     

    Attached Files: