User avatar
jinfox
Topic Author
Posts: 17
Joined: 06 Apr 2019, 00:11

Font Importer issue in Unreal whereas font is being displayed correctly

01 May 2024, 13:19

Hi,
I am currently trying to declare a list of FontFamily Resources that I can reuse in styles for example like so :
<FontFamily x:Key="FontFamily.Helvetica">
	../Fonts/#Helvetica
</FontFamily>
This works both in the Blend solution and in Unreal runtime. However I have an issue when reimporting the xaml file as a uasset, the font importer says the following :
LogNoesisEditor: Error: Failed to import font family Helvetica from /Game/Project/ProjectUI/Fonts/
In Noesis Settings of the project, the font asset is added there properly.

I have tried a bunch of approach, including absolute path like
pack://application:,,,/Project/ProjectUI/Fonts/#Helvetica
(this still works, but due to the difference of root folder, the relative path would be preferable for me).

So the problem here is that it kind of works but it with errors, which is both worrying but also throws lots of flag in CI pipeline.
Is there anything I am doing wrong/ have forgotten/preferred method?
 
User avatar
sfernandez
Site Admin
Posts: 3011
Joined: 22 Dec 2011, 19:20

Re: Font Importer issue in Unreal whereas font is being displayed correctly

02 May 2024, 11:59

Hello, can you post here the file/folder structure of the related assets (source directories and content directories)? I will try yo reproduce the problem.
Or if you can attach a minimal project reproducing the error it would be even better.
Thanks!

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot], mgb, Semrush [Bot] and 2 guests