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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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