Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

AddressableAssets.InvalidKeyException, no idea why

Discussion in 'Addressables' started by lloydv, Sep 11, 2019.

  1. lloydv

    lloydv

    Joined:
    Sep 15, 2015
    Posts:
    55
    Okay, I'm completely befuddled. Can anyone please help me figure out why this load not working?

    Typically when this happens to me it's some super-simple newb mistake, so I apologize in advance.

    The error occurs in all 3 play mode script settings, and I have run Build Player Content

    PS. Remote Packed Assets contains a single text asset irrelevant to the BackButtonLayer.
    addressables-error.png
     
  2. lloydv

    lloydv

    Joined:
    Sep 15, 2015
    Posts:
    55
    (sigh) sorry. It works if I load it as a GameObject.

    But didn't they say in the demo videos you could just replace
    Resources.LoadAsync
    with
    Addressables.LoadAssetAsync
    ? grrrr....