Search Issue Tracker

Fixed in 1.8.3

Votes

14

Found in [Package]

1.4.0, 1.5.0

Issue ID

1202034

Regression

Yes

[Addressables] InvalidKeyException is thrown when using LoadAssetsAsync<Sprites> on a folder and using Asset Database play mode

Package: Addressables

-

How to reproduce:
1. Open the attached project ("case_1202034-Repro.zip")
2. Open the repro scene ("SampleScene")
3. Build Player Content using "Asset Database" mode
4. Enter Play Mode

Expected results: The sprite is loaded and can be seen on the white cube
Actual results: InvalidKeyException is thrown and no sprites are loaded

Reproducible with: 2018.4.15f1, 2019.2.17f1, 2019.3.0f4, 2020.1.0a18
Couldn't test with 2017.4 (no package manager)
Reproducible with package: 1.4.0, 1.5.0
Not reproducible with package: 1.3.8

Notes:
1. The issue does not reproduce when "Simulate Groups" or "Existing Build" build modes are used
2. Couldn't reproduce the issue with GameObject type assets
3. Reproduces with both Asset Database V1 and V2

  1. Resolution Note (fix version 1.8.3):

    refactored how subobjects and sprites are handled

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.