Search Issue Tracker
Fixed
Fixed in 2023.2.11f1, 2023.3.0b7
Votes
0
Found in
2023.2.2f1
2023.3.0a16
Issue ID
UUM-57614
Regression
Yes
The <sprite> tag inserted image from a Sprite Asset into the UI Builder Button disappears when the Inlined Style Text Shadow Horizontal or Vertical Offset is set to be more than 0 px
How to reproduce:
1. Open the “SpriteProjectRepro“ project
2. Open the “SampleScene“
3. Go to the “Window > UI Toolkit > UI Builder“
4. Open the “reproUI.uxml“ asset in the UI Builder
5. Open the “#TestButton“ Button in the Inspector pane
6. Drop-down the Inlined Styles section then drop-down the Text sub-section
7. Drop-down the Text Shadow USS property
8. Set the Horizontal Offset to 1 px
9. Observe the Viewport pane
Expected result: The “reprono“ Sprite Asset does not disappear from the “#TestButton“ Button
Actual result: The “reprono“ Sprite Asset disappears from the “#TestButton“ Button
Reproducible with: 2023.2.0a18, 2023.2.2f1, 2023.3.0a16
Not reproducible with: 2022.3.14f1, 2023.2.0a17
Could not test with: 2021.3.33f1 (Corrupted Sprite Asset Material)
Reproducible on: macOS 13.5.2 (Intel), Windows 10 Pro
Not reproducible on: No other environment tested
Notes:
- Workaround: In the Attributes section add the Sprite Asset in the Icon Image field
- Also reproducible when Vertical Offset is set to more than 0 px
- Also reproducible in the Game view
- Reproducible in Player
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
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- Constant console errors when using Min/Max Slider in PlayMode
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
Resolution Note (fix version 2023.3.0b7):
Fixed issue with sprites not working in text when using complex text features
Resolution Note (fix version 2023.2.11f1):
Fixed issue with sprites not working in text when using complex text features