-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Bug: imDrawData->TotalVtxCount == 0 when reload application using imGUI.ini #1905
Comments
When you report a crash anywhere please try to provide a assert/line/callstack, thanks! See #1893 i think it is the same problem (a missing zero test in some buffer updating code). |
Ok I will try soon to check where is issue into my fork code. Sorry to forget information: currently crash doesn't happens inside ImGUI but Vulkan buffer's creation (because size of buffer is 0). So I don't have data to you. Thanks for your support ! |
In your Vulkan renderer, Just don't create any buffer and commands if the ImDrawData is empty. |
Hi ! Thanks ! |
@Rominitch May I suggest pushing your changes as a Pull Request to the original SaschaWillems repository, so other people won't stumble on the same issue as much? |
Yep ! Don't worry ! I created a ticket about that to inform community about this topic. |
Version of Dear ImGui:
1.62
Renderer/OS:
Vulkan/Windows 10 x64
My Issue:
I try to update https://github.com/SaschaWillems/Vulkan project with latest imGui v1.62 but strangely I find a crash with empty VtxCount after move dialog and relaunch exe.
I identify that if remove imGui.ini I can replay without issue.
So, I removed file configuration support temporarily (don't forget to comment it if you try).
See io.IniFilename = NULL;
I can't reproduce it on imgui_examples.sln. It's may be an implement issue inside SaschaWillems/Vulkan project ?
Workflow:
On my fork https://github.com/Rominitch/Vulkan,
Good Luck !
Regards
The text was updated successfully, but these errors were encountered: