Search Issue Tracker

Active

Votes

29

Found in

2018.3.14f1

2018.4

2019.1

2019.2

2019.3

Issue ID

1153358

Regression

No

[Android] Loading assets from AssetBundles takes significantly more time when the project is built as an AAB

Mobile

-

Repro steps:
1. Download "repro_1153358_1930a1" from the link below
2. Switch build target to Android and make sure that "Build App Bundle (Goole Play)" option is checked
3. Build and Run
4. Wait for the game to go to a screen where some characters and pink textures are seen. might need to double click the screen to skip the intro video
5. Check the device log and look for "xxxxxxx.prefab loaded (yyyyyy)" messages
6. Uncheck "Build App Bundle (Goole Play)" and repeat steps 3 - 5

Actual: The time it takes to load the assets when the project is built as an aab is significantly longer

Reproducible with: 2018.4.1f1, 2019.1.5f1, 2019.2.0b5, 2019.3.0a1

Tested and reproduced on these devices:
VLNQA00013, Samsung Galaxy S6 edge+ (SM-G928F), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760
VLNQA00124, Google Pixel 2 XL (Pixel 2 XL), Android 9, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00262, Sony Xperia XZ Premium (G8141), Android 9, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00015, Samsung Galaxy Note8 (SM-N950W), Android 8.0.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540

Notes:
- Asset compression method and scripting backend have no influence on this behavior
- This issue doesn't reproduce with just loading an enormous amount of assets
- This issue doesn't reproduce with just loading the exact same assets that are troublesome

Comments (14)

  1. Cb48894893cdcd8732a86de1c6dbffa6?d=mm

    sceneunited

    Sep 05, 2019 13:28

    I am happy to find this post very useful for me. as it contains lot of information. I always prefer to read the quality content and this thing I found in you post. Thanks for sharing. https://www.sceneunited.com

  2. 7da51b5717114423538effc6d4a096d6?d=mm

    dudcard

    Sep 05, 2019 12:52

    I experience considerable difficulties my considerations on substance, however I truly felt I ought to here. Your article is truly awesome. I like the way you composed this data. https://www.dudcard.com

  3. 7eb7919713e26eae430b006cf3a5a516?d=mm

    unity_FekYxo-tl1j76A

    Sep 04, 2019 19:43

    Hello, it seems there are some errors in the above mention code, as we know that some libraries didn't get these especially the GTA 5 mods by <a href="https://decidel.net">https://www.decidel.net</a>. You will be amazed by there awesome piece of work

  4. 7eb7919713e26eae430b006cf3a5a516?d=mm

    unity_FekYxo-tl1j76A

    Sep 04, 2019 19:42

    Hello, it seems there are some errors in the above mention code, as we know that some libraries didn't get these especially the GTA 5 mods by <a href="https://decidel.net">Decidel</a>. You will be amazed by there awesome piece of work.

  5. D59b3f256ef39bc55b4ecf90e8e5fc04?d=mm

    lifestyleallabout

    Aug 28, 2019 13:27

    Thanks for a wonderful share. Your article has proved your hard work and experience you have got in this field. Brilliant .i love it reading. https://www.lifestyleallabout.com

  6. Eaee0cb4a9220155c0352d43ae24ac48?d=mm

    babelite

    Aug 26, 2019 12:46

    Brilliant outlined data. I thank you about that. Most likely it will be exceptionally helpful for my future ventures. Might want to see some different posts on the same subject! https://www.babelite.com

  7. 0e474ec2fc53ac9009d20496e0bb82f1?d=mm

    furniturescam

    Aug 24, 2019 13:37

    I am certainly making the most of your site. You certainly have some incredible knowledge and extraordinary stories. https://www.furniturescam.com

  8. Ee4a2d27fc6899016c3357eaab991732?d=mm

    Unity_User_2

    Aug 15, 2019 09:04

    Unity 2019.2: problem with all StreamingAssets files which have uppercase letter in their path (relative to StreamingAssets).
    //Directly in StreamingAssets folder or in a subfolder does not matter.

  9. 3af9c28e60b7ed5672d161ca292f57bd?d=mm

    imaginalis

    Aug 10, 2019 14:42

    Will bundletool be updated in Unity 2018.4 as well soon?

  10. 3af9c28e60b7ed5672d161ca292f57bd?d=mm

    imaginalis

    Jul 31, 2019 11:46

    Just tested it on 2019.2 that was released yesterday and it seems to work fine now. I saw in the changelog that bundletool was updated so that's what probably fixed it (at least for my case).

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.