(2019.4 LTS) Unity freezes when trying to load asset from cached bundles

There’s another post which helped me narrow down that this is somehow Addressables related. Thought I’d post here to hopefully get some more attention on it: Addressables.LoadAssetAsync freezes unity editor 2019.4 - Questions & Answers - Unity Discussions

I’m in Unity 2019.4.21f1, but have also tried 2019.4.20f1

Recap of the problem (for me only on device, the original forum others mention issue in Editor):

  1. Launch fresh app download
  2. Game downloads bundles through Addressables
  3. Game launches fine this first time and plays normal
  4. Quit the app and relaunch
  5. Game freezes while trying to load multiple addressable assets

The fix that got my game to work was to ensure that LoadAssetAsync was only ever happening 1 at a time. I put a static “Loading” bool to wait until something else can load.

Addressables versions tried on both: 1.12.0, then upgraded to 1.16.16 which still has the issue.

I was in the process of updating from Unity 2019.3.10f1. So I’m actually leaning more towards this being an AssetBundle loading issue, but since the calls come from Addressables, posting here first.

Let me know if you need any more info. I sadly can’t post my project since it’s NDA and all that. Not sure if a minimal repro case can be made.

I can’t sure but there is app/editor freezing issue related to UnityWebRequest(assetbundle) / Resources API.

1 Like

Seeing this issue is fixed now in 2019.4.23f1.