Hi,
I'm getting an error when building a SpriteFont in the Content Pipeline tool on Linux.
I do not experience the same error when using the tool on Windows.
Building Font /home/****/Projects/****/****/Content/Arial
/home/****/Projects/****/****/Content/Arial.spritefont: error: Processor 'FontDescriptionProcessor' had unexpected failure!
**** at Microsoft.Xna.Framework.Content.Pipeline.Processors.FontDescriptionProcessor.Process (Microsoft.Xna.Framework.Content.Pipeline.Graphics.FontDescription input, Microsoft.Xna.Framework.Content.Pipeline.ContentProcessorContext context) [0x00173] in <775ee6b08f8441cd9946f7532ebffc51>:0
at Microsoft.Xna.Framework.Content.Pipeline.ContentProcessor2[TInput,TOutput].Microsoft.Xna.Framework.Content.Pipeline.IContentProcessor.Process (System.Object input, Microsoft.Xna.Framework.Content.Pipeline.ContentProcessorContext context) [0x00038] in <775ee6b08f8441cd9946f7532ebffc51>:0
at MonoGame.Framework.Content.Pipeline.Builder.PipelineManager.ProcessContent (MonoGame.Framework.Content.Pipeline.Builder.PipelineBuildEvent pipelineEvent) [0x00163] in <775ee6b08f8441cd9946f7532ebffc51>:0 `
I think this is the same error as issue #4156, as adding a .ttf file of the font with the same name to the target directory fixed the error. However, I still feel that this is a bug as this issue was supposedly fixed with #4496.
Thanks,
Kjav.
You don't have Arial font installed in your system, this is not a bug.
If that's the case, and can be detected during runtime, then FontDescriptionProcessor should throw a PipelineException with a more specific description.
Most helpful comment
If that's the case, and can be detected during runtime, then FontDescriptionProcessor should throw a PipelineException with a more specific description.