You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Via mellinoe on discord - "What you are talking about sounds like ocornut/imgui#1651"
bryanedds — Today at 12:05 PM
reading over this doc that was linked to from that discussion - https://github.com/ocornut/imgui/wiki/Error-Handling
it looks like I can for the most part simply avoid a runtime crash with this - io.ConfigErrorRecoveryEnableAssert <- false
which i think solves the biggest problem with the issue for the most part
one of the prescribed error recovery patterns doesn't work in .NET, tho -
In .NET, you cannot catch an AccessViolationException or an EngineExecutionException and also
ImGui.NET appears to not provide the API for ErrorRecoveryStoreState
(which may make sense because the above pattern is not implementable anyways)
so the only thing we can really do in .NET is avoid the asserts in the first place
which, i think is fine for now, but still, I think there's utility in having a callback when people want to leave ImGui asserts on.
Issue filed with ImGui.NET here -
ImGuiNET/ImGui.NET#477
The text was updated successfully, but these errors were encountered: