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>”

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.