Search Issue Tracker

Fixed

Fixed in 2.2.2

Votes

0

Found in [Package]

2.1.0

Issue ID

ADDR-3743

Regression

Yes

"Unable to load asset" error when using AssetReferenceSprite

Package: Addressables

-

How to reproduce:
1. Open the attached “IN-82109“ project
2. In the Hierarchy select the “Scripts“ GameObject
3. In the Inspector assign a sprite (Assets/TopDown 2D RPG BE3/Sprites) to the “Sprite Reference“ in the “Asset Reference Loader Script“ component
4. Enter Play Mode
5. Observe the result in the Console

Expected result: The sprite is loaded successfully
Actual result: An “Unable to load asset“ error is thrown

Reproduced with: 2.0.3 (2023.3.0a15), 2.1.0 (6000.0.10f1)
Not reproduced with: 1.22.2 (2021.3.42f1, 2022.3.42f1), 2.2.2 (6000.0.14f1)
Fixed in: 2.2.2 (6000.0.14f1)

Reproduced on: Windows 11
Not reproduced on: No other environment tested

Note: Loading the sprite by name instead of GUID fixes the issue

  1. Resolution Note (fix version 2.2.2):

    This issue was fixed in v2.2.2

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.