#"Failed to get scaled glyph image for cache key" error
13 messages · Page 1 of 1 (latest)
Fatal error when processing text: failed to get scaled glyph image for cache key: CacheKey { font_id: ID(InnerId(1v1)), glyph_id: 43, font_size_bits: 1125515264, x_bin: Zero, y_bin: Zero, flags: CacheKeyFlags(0x0) }.
// ^^^^ ERROR HERE ^^^^ //
I'm seeing this too
thread 'Compute Task Pool (1)' panicked at [redacted]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ui-0.15.3/src/widget/text.rs:377:13:
Fatal error when processing text: failed to get scaled glyph image for cache key: CacheKey { font_id: ID(InnerId(2v1)), glyph_id: 48, font_size_bits: 1116733440, x_bin: Zero, y_bin: Zero, flags: CacheKeyFlags(0x0) }.
Also with a fairly basic OTF font.
Did you ever find a solution?
hmmm what are you trying to do? maybe ill remember
iirc i just had to do it differently
ohhh wait
I think it means the font doesn't have a character you're using
or bevy is trying to cache a character and but its' not in the font
So the solution is to either not use the character or find a font that supports most.
I saw the error when I used capital letters in a font that didn't have any
Ah okay! Thanks for the tip, I'll take a look and see if that's the issue here
Hm, nothing obvious missing in terms of glyphs from the font
I don't have time to investigate much deeper but in case someone else hits the same issue (and finds this thread via search like I did), if I do find a solve I'll come back and update