Search Unity

Bug AssetBundle LoadAsset and UnityWebRequestAsyncOperation complete at same frame freeze game

Discussion in 'Asset Bundles' started by mtlixue, Feb 20, 2021.

  1. mtlixue

    mtlixue

    Joined:
    Jul 27, 2020
    Posts:
    3
    See the attachment pics.
    AssetBundle.LoadAsset<TextAsset>(name) and UnityWebRequest completed at the same frame freeze the game.
    Reproduced in Unity 2019.4.20f1 and 2019.4.12f1.
     

    Attached Files:

  2. abogarsukov-braingames

    abogarsukov-braingames

    Joined:
    Jul 23, 2020
    Posts:
    40
    We seem to have a similar issue when loading a lot of assets. We are able to reproduce it with Unity 2019.4.19/20/21. This doesn't seem to happen in editor, only on device (Android and iOS).
     

    Attached Files:

  3. abogarsukov-braingames

    abogarsukov-braingames

    Joined:
    Jul 23, 2020
    Posts:
    40