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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note (fix version 2.2.2):
This issue was fixed in v2.2.2