raylib-extras/rlImGui-cs

Method not found

Closed this issue · 8 comments

Unhandled exception. System.MissingMethodException: Method not found: 'ImGuiNET.RangePtrAccessor`1<ImGuiNET.ImDrawListPtr> ImGuiNET.ImDrawDataPtr.get_CmdListsRange()
'.
   at rlImGui_cs.rlImGui.RenderData()
   at rlImGui_cs.rlImGui.End()
   at HelloWorld.Program.Main() in /Users/kyandesutter/development/formal-engine-rewrite/Program.cs:line 156

https://github.com/FormalSnake/formal-engine/tree/rewrite

I am on macOS sonoma

sounds like a mismatch with ImGui.net. what version of that package are you using?

It does indeed, this is my package list

<PackageReference Include="Raylib-cs" Version="4.5.0.4" />
<PackageReference Include="ImGui.NET" Version="1.89.9.2" />
<PackageReference Include="rlImgui-cs" Version="1.0.2" />

This commit in ImGUI.NET might help
ImGuiNET/ImGui.NET@ab30115

So I downgraded to try it, the program launches but I do not see a demo window, but it does create the .ini file.
Screenshot 2023-09-28 at 17 11 27
Screenshot 2023-09-28 at 17 11 40

Screenshot 2023-09-28 at 17 21 37 this is what the sample app looks like

Yes, ImGui.net updated the package and made it incompatible with the code in rlImGui. rlImGui was meant to use a specific version of ImGui.Net.
I have updated the package and code that this repository issues, so it should be compatible now with the current ImGui.net version

sadly, i am having this problem
#6
the M1 GPU. not sure if this can be fixed rn