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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Resolution Note:
There are no fixes planned for this Bug