Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.19.11
Issue ID
ADDR-2707
Regression
Yes
AssetReferenceSprite and AssetReferenceAtlasedSprite cannot be assigned when created via script
Reproduction steps:
1. Unzip and open the attached 'repro.zip' project
2. Select the 'TestSO' asset in the Project Browser
3. Right-click the ScriptableObject header (or click ⋮) in the Inspector
4. Select 'TestIcon' from the context menu
5. Observe the 'Test Atlased Sprite' field in the Inspector
Expected result: The field values are 'Assets/Atlases/TestAtlas.spriteatlasv2' and 'Square:UnityEngine.Sprite'
Actual result: The field value is 'None (Addressable Sprite)'
Reproduced with: 1.19.11 (2019.4.38f1, 2020.3.34f1), 1.19.19 (2021.3.2f1, 2022.1.0f1, 2022.2.0a12)
Not reproduced with: 1.19.9 (2019.4.38f1, 2020.3.34f1)
Note:
- Reproduced on Windows and macOS
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:
There are no fixes planned for this Bug