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
- Crash on GUIState::BeginOnGUI when a Node is opened in a custom graph editor in Play Mode
- USS selector is duplicated when it is added to an element, the action is undone, and then another selector is clicked
- Text and dropdown icon are not aligned in UI Toolkit Samples
- [RenderGraph] SSAO pass in URP RenderGraph uses DontCare flag after changing the Render Scale resulting in a black screen or artifacts
- Player with IL2CPP Scripting Backend crashes when calling Application.Quit() while a thread is running
Resolution Note:
There are no fixes planned for this Bug