It seems MeshResource.generateText() has been broken since RealityKit was released. Whenever creating a mesh using this an error appears in the logs like this:
And the result is, as stated, that it just uses Times New Roman for all generated text (yuck!).
I created a FB item back in Feb this year (2020): FB7606700, but no update yet.
Are there any engineers who can comment on this?
Code Block 2020-02-29 14:30:40.994123+0000 appName[13892:4226658] CoreText note: Client requested name ".SFUI-Regular", it will get TimesNewRomanPSMT rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[UIFont systemFontOfSize:]. 2020-02-29 14:30:40.994176+0000 appName[13892:4226658] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
And the result is, as stated, that it just uses Times New Roman for all generated text (yuck!).
I created a FB item back in Feb this year (2020): FB7606700, but no update yet.
Are there any engineers who can comment on this?