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
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)
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
- Location tooltip in the Viewport of UI Builder window does not update when the UI Document Asset is moved to a different location
- Audio Clip Volume and Avoid Repeating Last fields values cannot be changed in Audio Random Container window
- Setting a variable in the root selector via an imported USS file in a theme does not work
- No character limit when creating a new Scene with excessively long name, Editor can be forced to crash
- URP Decal Projector flickers/glitches when added to Cube or Quad GameObjects as a Component
Resolution Note (fix version 1.21.12):
Fixed issue where sprite atlas cannot be assigned to an AssetReferenceAtlasedSprite.