Search Issue Tracker

Fixed

Fixed in 2.5.0

Votes

0

Found in [Package]

2.5.0

Issue ID

ADDR-3858

Regression

No

Addressables.LoadAssetsAsync throws unclear InvalidKeyException message

Package: Addressables

-

Reproduction steps:
1. Open the attached “IN-94193_AddressableLabelLoadAPI“ project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Enter the Play Mode
4. Observe the Console

Expected result: “Loaded Triangle“ and “Loaded Square“ logs are printed
Actual result: UnityEngine.AddressableAssets.InvalidKeyException and OperationException are thrown

Reproducible with: 1.22.3 (2022.3.57f1), 2.2.2, 2.3.16 (6000.0.36f1, 6000.1.0b5, 6000.2.0a2)

Reproducible on: Windows 10 (User’s platform), M1 Max MacOS 15.1.1 (CQA’s tested platform)
Not reproducible on: No other environment tested

  1. Resolution Note (fix version 2.5.0):

    Fixed issue where call to LoadAssetsAsync was treating single element keys into an array of characters.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.