Skip to content
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

Windows ID empty assertion doesn't seem to trigger on Windows #20

Open
grillo-delmal opened this issue Jul 27, 2022 · 1 comment
Open

Comments

@grillo-delmal
Copy link

I've been testing inochi-creator and inochi-session on Linux, an it has appended more than once that I've found that this assertion get's triggered on Linux builds that work fine on Windows.

inochi-session: /opt/src/bindbc-imgui/deps/cimgui/imgui/imgui.cpp:8925: 
bool ImGui::ItemAdd(const ImRect&, ImGuiID, const ImRect*, ImGuiItemFlags): 
Assertion `id != window->ID && "Cannot have an empty ID at the root of a window. If you need an empty label, use ## and read the FAQ about how the ID Stack works!"' failed.

I don't know if it is expected for it not to trigger on Windows builds, but I think that it's a problem that this is inconsistent between builds.

@LunaTheFoxgirl
Copy link
Member

Reason it doesn't trigger on windows is because release builds disable assertions and right now a problem with bindbc-imgui means I can only build windows versions in release mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants