Closed JMBartelt closed 6 months ago
Hello, as a workaround for versions where Arial is not present, you should be able to set the "Font" via the inspector too
Thanks, yes there is no issue as long as a font is set in the inspector. If it's null though, it's not immediately obvious that the null inspector property is causing the error.
Also, just wanted to say that this SDK rules, great work and thanks for providing it!
Describe the bug Getting this error repeatedly in Unity Editor 2022.3.1, "ArgumentException: Arial.ttf is no longer a valid built in font. Please use LegacyRuntime.ttf"
Stack Trace
So it's suggesting line 107 of code in MapCopyrightLayer.cs needs to change the reference to Arial.ttf to LegacyRuntime.ttf
_font = Resources.GetBuiltinResource<Font>("Arial.ttf");
Steps to reproduce Add MapRenderer component to scene EDIT: I found that having Map Copyright Layer Font property is set to null in the scene inspector causes this issue
Environment: