I am currently using the UI builder with Unity 2021.2.0b7 to design a UI, and I want to use different fonts. I have tried to use a different font for my buttons and text labels, but for some reason, the text doesn’t show the new font, it still shows the default font and doesn’t change.
I’ve tried searching online for solutions to my problem, but I just can’t seem to find anything helpful to assist me with fixing the problem.
I have attached some images to the thread to show you what I mean.
I eventually was able to fix this, it turns out the “Font Asset” was set and it was overriding whatever font I selected in the font dropdown. Just letting you all know just in case someone else bumps in to the same issue!
Hi @tecbug ! We are tracking the issue internally, but it would indeed be helpful if you could log a bug through the unity bug reporter (Help/Report a bug…). This would help with visibility and to backport the fix to previous versions.
Hi @curbol ! Unfortunately, we don’t have a bug logged for this issue. If this issue is important to you, here’s how to report a bug.
I would recommend converting your Font to FontAsset for your UI. This is more performant as Fonts are being converted to FontAsset by our system in the background and they also provide more customizability. For more information on FontAssets, have a look at this documentation: