Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Bug Addressables 1.13.1 breaks loading of non-bundled assets

Discussion in 'Addressables' started by joe_nk, Aug 3, 2020.

  1. joe_nk

    joe_nk

    Joined:
    Jan 6, 2017
    Posts:
    40
    I noticed the latest release and upgraded only to find after building, loading of non-bundled files from the Built In Data group to be completely broken. I've filed a bug report with a small sample project (Case 1267732) to illustrate the issue.
     
    firstuser likes this.
  2. joe_nk

    joe_nk

    Joined:
    Jan 6, 2017
    Posts:
    40
    Bump.

    This is a significant issue - Consider this setup:



    Calling
    Code (CSharp):
    1. Addressables.LoadAssetAsync<TextAsset>("local_data")
    results in an InvalidKeyException when using built groups.

    This works fine in 1.12.0
     
    firstuser likes this.
  3. Shaunyowns

    Shaunyowns

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    274
    Last edited: Aug 5, 2020
    firstuser likes this.
  4. joe_nk

    joe_nk

    Joined:
    Jan 6, 2017
    Posts:
    40
    @Shaunyowns I have done so, see my original post.

    Thanks
     
  5. firstuser

    firstuser

    Joined:
    May 5, 2016
    Posts:
    51
    +1 having same issue, thank you @joe_nk for submitting a bug report, hope it gets fixed soon
     
    joe_nk likes this.
  6. joe_nk

    joe_nk

    Joined:
    Jan 6, 2017
    Posts:
    40
    @firstuser Thanks, I've also filed a premium support request for this
     
    firstuser likes this.
  7. HoshiyamaX

    HoshiyamaX

    Joined:
    May 7, 2019
    Posts:
    1
    +1 Addressables.LoadSceneAsync is not work.
    (Scene is non-bundled)
    Maybe same issue.
     
    firstuser likes this.
  8. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    618
    This should be fixed in version 1.14.2 - could you try updating and see if it helps?
     
    firstuser likes this.
  9. firstuser

    firstuser

    Joined:
    May 5, 2016
    Posts:
    51
    @TreyK-47 analyze rules doesn't work for me at all now, fails with exceptions every time. Building also doesn't really work, complains about a ghost duplicate key or something weird.

    Had to downgrade to continue, will try post some proper error logs later when I can upgrade again for debugging. 0 changes on my end other than trying newest version out.

    After downgrade everything works perfectly again.
     
  10. joe_nk

    joe_nk

    Joined:
    Jan 6, 2017
    Posts:
    40
    I've tested 1.14.2 and it seems to work, thanks!

    Unfortunately the update came too late in our testing cycle to ship with the fix. We've gone with a workaround in 1.13.1 but will move to 1.14.2 for our next update. It's a shame because 1.14.2 also comes with a super handy AsyncOperation download progress utility.
     
unityunity