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
- Lightmap has artifacts when Generating Lighting
- Editor crashes when starting a new game session using Direct3D12 Graphics API
- Play on awake does not work with an audio random container when instantiating a game object
- Play on awake does not work with an audio random container when loading a scene
- Prefab components are not rendered correctly in the Inspector Window when "HideFlags.HideInInspector" is used
Resolution Note:
There are no fixes planned for this Bug