Closed accountrev closed 1 year ago
I will look into it. Thx for reporting.
^ same happens to me, although only through the nuget package if i download the src directly and add it to my project it works fine
i found a fix in the meantime, use an older version of imgui.net as the exception says, in the newer versions there is no overload method that takes (string string,uint16[],FontGlyphRangeType )
use an older version of imgui.net
Can confirm, every ImGui.NET update after 1.89.5 does not work, due to the fact that ImGuiNET.ImFontAtlasPtr.AddFontFromFileTTF
now uses ReadOnlySpan<char>
instead of string
for the filename argument.
I also tried using CTO from source and it works perfectly fine, but I'm sticking to nuget for now so I'll use an older version until it's fixed.
When trying to use ReplaceFont in my program, it raises a System.MissingMethodException exception every time the function is ran. I tried the SingleThreadedOverlayWithCoroutines example as well, and it still raises this exception:
I made sure ImGui.NET and the other dependencies are installed, and I don't know any workarounds for the time being.