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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
There are no fixes planned for this Bug