Search Issue Tracker

Fixed

Fixed in 1.21.12

Votes

0

Found in [Package]

1.21.10

Issue ID

ADDR-3336

Regression

Yes

Can't assign a Sprite Atlas to an AssetReferenceAtlasedSprite Property Field

Package: Addressables

-

Reproduction steps:
1. Open the attached project “IN-38075_repro“
2. Open the “SampleScene“ Scene
3. Select the “TRYASSIGN“ GameObject
4. Try to assign the “TryAssign“ Sprite Atlas located in Assets/Icon to the “Icon Reference“ Property Field

Expected result: “TryAssign“ Sprite Atlas is assigned to the “Icon Reference“ Property Field
Actual result: “TryAssign“ Sprite Atlas isn’t assigned to the “Icon Reference“ Property Field with the following warning: Assigned editorAsset does not match type UnityEngine.Sprite. EditorAsset will be null.

Reproduced with: 1.21.3, 1.21.8, 1.21.9 (2022.2.14f1), 1.21.10 (2020.3.47f1, 2021.3.22f1, 2022.2.14f1, 2023.1.0b11, 2023.2.0a10)
Not reproduced with: 1.20.5, 1.21.1, 1.21.2 (2023.2.0a10)

Reproduced on: macOS 13.0.1, Windows 11 (user reported)

  1. Resolution Note (fix version 1.21.12):

    Fixed issue where sprite atlas cannot be assigned to an AssetReferenceAtlasedSprite.

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.