A bundle that doesn't exist is loaded

 var initOperation = Addressables.InitializeAsync();
 await initOperation;

 foreach (var location in initOperation.Result)
 {
     Debug.Log(location.PrimaryKey);
 }

Now I don’t know why the bucket is loading an old bundle that doesn’t exist.

carddataspriteatlas__dc324185aad1d242777fd95f3bf7542b.bundle
carddatatextlist__1b4c6339ff88d819c43f2f0e8fcf8c8f.bundle

It is not the same as the bundle name shown in the logs.

That’s odd. Normally you’d write it like so:

var initOperation = await Addressables.InitializeAsync();

I can imagine that this may affect the behaviour because ‘await initOperation’ returns something, but that something isn’t assigned to a variable. But C# may be clever enough to know how this wait was meant to be used. In any case, it’s really odd to write a one-shot awaitable in two lines and can’t hurt to try again with the single line version.

This thread also points out differences between the await and IEnumerator yield variants.

Deleting the Library/PackageCache/com.unity.addressables folder and re-importing the addressables package fixed it.