Search Issue Tracker
Won't Fix
Votes
0
Found in
2023.2.0a1
Issue ID
UUM-25433
Regression
No
fallback sprite assets are not being used in textcore
Fallback assets are ignored even when the missing sprite can be found in the fallback sprite asset, to reproduce:
- open attached project
- Note that EmojiOne is being used as default sprite asset in UITK Text Settings/EmojiOne has a fallback asset called EmojiOne 1
- Also not that EmojiOne 1 has an additional glyph with index =15
- create a label in ui builder and use "<sprite=15>" as the text string
Expected result: a smiley face is displayed at runtime
Actual result: sprite doesn't display
I have tested the tmp/textcore sync branch as well, issue persists. It appears the GetSpriteCharacterFromSpriteAsset_Internal is never called? (if I looked at the right place)
NOTE: This issue does not occur when using name attribute such as <sprite name="sprite_name">
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
SpriteAsset Fallback works with unicode, but index is not supported.