Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. 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:
    67
    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:
    67
    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:
    328
    Last edited: Aug 5, 2020
    firstuser likes this.
  4. joe_nk

    joe_nk

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

    Thanks
     
  5. firstuser

    firstuser

    Joined:
    May 5, 2016
    Posts:
    147
    +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:
    67
    @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:
    1,796
    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:
    147
    @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:
    67
    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.