Search Issue Tracker
Fixed
Fixed in 6000.3.6f1, 6000.4.0b6, 6000.5.0a6
Votes
0
Found in
6000.3.3f1
6000.4.0b3
6000.5.0a4
Issue ID
UUM-131361
Regression
Yes
TryGetValue fails to parse USS variable into Sprite when using CustomStyleProperty<Sprite>
How to reproduce:
1. Open the attached “CantLoadSpriteUsingCustomStyleProperty” project
2. Open the “SampleScene” Scene
3. Enter Play mode
4. Observe the Game view
Actual result: Only the original Image is created
Expected result: Both the original Image and the copy Image are created
Reproducible with: 6000.3.3f1, 6000.4.0b3, 6000.5.0a2, 6000.5.0a4
Not reproducible with: 6000.0.65f1, 6000.5.0a1
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Workaround: Use “CustomStyleProperty<Texture2D>” instead of “CustomStyleProperty<Sprite>”
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Add comment