-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using ImGuiListClipperPtr triggers AccessViolationException after upgrading to 1.89 #401
Comments
was it working before 1.89.5? |
Good point I only tested 1.88.0 and 1.87.3. v1.88 also triggers the exception. v1.87.3 works. I know it's kind of too much work to ask for, but these were me steps to reproduce:
|
I just tested imgui.net version 1.89.4 (which points to cimgui 1.89.2) and its working fine. i will dig more and try to figure out what changed between these 2 versions that broke it... |
interesting read: ocornut/imgui@c8ad25c -> ocornut/imgui#5856 |
Oh wow. Thanks for looking into that so quickly! |
the workaround is here (#401 (comment)) if you want to use that while waiting for a final fix. |
#393 (comment) |
If you do that, you have to call the c++ destructor function as well. Just FYI. |
I have also pushed a workaround on dear imgui side: |
Closing this issue as it will be fixed automatically once imgui.net is upgraded to the latest (unreleased) version. |
Hi,
after upgrading to v1.89.5 the following code causes as System.AccessViolationException:
Maybe I'm using the API in an unintended way, but it I assume something changed in the implementation. This could also be on the ImGui side, but I'm not good enough with C to write an example.
The text was updated successfully, but these errors were encountered: