1

At the start of my Unity Android game I load all prefabs via addressables:

await Task.WhenAll(retrievePrefabsTasks);

When I deploy directly to my Android device via Unity, this takes about 10s.

When I instead build an app bundle, upload it to Google Play and then install it on the same device, prefab loading takes over 3 minutes.

What could be causing this?


Edit

My Unity build settings when building an .aab:

Unity Android build settings for AAB

4
  • By deploy you mean actually deploy or just remote renderer?
    – derHugo
    Dec 19, 2020 at 19:33
  • Actually deploy. I can see my app installed on my Android device, unplug the device from the computer and launch the app fine.
    – Felix
    Dec 19, 2020 at 19:52
  • Is the compression/encryption different when you build for play store?
    – Immersive
    Dec 21, 2020 at 13:36
  • Hm, not that I know of :/ The only setting I change to create an aab is "Build App Bundle (Google Play)" (see screenshot). I don't touch the "Texture Compression" or "Compression Method" settings.
    – Felix
    Dec 21, 2020 at 14:04

1 Answer 1

0

This seems to be a Unity bug that has been fixed.

Can confirm that updating my Unity version from 2019.2.21f1 to 2020.1.17f1 fixed the issue.

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.