ImGui.NET icon indicating copy to clipboard operation
ImGui.NET copied to clipboard

ImPlot Issues

Open uwusharp opened this issue 3 years ago • 2 comments

After much effort I've managed to get ImPlot running without AccessViolationExceptions I cannot debug, but I am now getting assertion failed, g.withinFrameScope whilst using ImPlot.ShowDemoWindow(). I have cloned the project and referenced ImPlot.NET. I am using the NuGet for ImGui.NET (which works when calling ImGui.ShowDemoWindow()). I have added the context initialization to ImGuiRenderer (creating a new ImPlot context and setting it, and also setting the ImGui context). The binaries were generated using TillAlex's nativegen fork.

The most likely issue is a cimplot version mis-match. Any ideas on how to fix this?

uwusharp avatar Mar 14 '23 08:03 uwusharp

same issue if caught AccessViolationExceptions and you could use vs debugger in mix mode, and you get actual problem: image

if we add ImPlot.SetImGuiContext(ImGui.GetCurrentContext()); before window looping, and get assertion failed with g.withinFrameScope: image

there is dll I build by https://github.com/MikiraSora/ImGui.NET-nativebuild

Debug.zip

MikiraSora avatar Dec 21 '24 12:12 MikiraSora

ok finally I use xmake and rebuild them, finally work VE65GW _~MCT4Q} ZC9K%FP

out.zip

MikiraSora avatar Dec 22 '24 11:12 MikiraSora