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

imgui.h assertion failed #51

Open
v1ckxy opened this issue Oct 5, 2024 · 6 comments
Open

imgui.h assertion failed #51

v1ckxy opened this issue Oct 5, 2024 · 6 comments
Labels
bug Something isn't working overlay Overlay related

Comments

@v1ckxy
Copy link

v1ckxy commented Oct 5, 2024

// First of all: Thank you for your work.

So I had just found that using the experimental version with the overlay, in a complete random way, throws this error from time to time when moving around the overlay.
If you click on ignore it will keep working, but I'm unable to figure out why the lib throws the error in first place. 😑

Assertion failed!

Program: [...]\steam_api64.dll

File: gbe_fork\build\deps\win\vs2022\...\imgui.h
Line: 2078

Expression: i>=0 && i < Size

image

I was checking imgui.h and it looks like the library had a LOT of commits in the last regarding that file in the last weeks:
https://github.com/ocornut/imgui/commits/cb16568fca5297512ff6a8f3b877f461c4323fbe/imgui.h

Including:

  • Some kind of error handling for recovery
  • And one of them that talks about assertion issues. I'm not sure if it's related or not:
    "Tables: fixed assertion related to inconsistent outer clipping when sizes are not rounded."

I would try it if it weren't for the fact that I'm going to be a few days without access to VS or a compiler :S

@Detanup01
Copy link
Owner

Yup I having the same problem in some times.
Try not using any Overlay things (ie: Rivatuner, GeForce Experience) and maybe will work.
Some games works, some not, its a mistery.

In GitHub if you enable Actions you can build it without need of VS, complier.

@v1ckxy
Copy link
Author

v1ckxy commented Oct 5, 2024

I think is related with activity inside the overlay;
Moving inside in-out the app window and hovering around elements/buttons ends up triggering it, I saw that the cursor tends to be placed in a fixed place -where the game cursor is- when moving out of the window, but I don't know how it can trigger the issue.

Regarding actions, thanks, I saw it a few hours afterwards opening the issue;
I've compiled a new library (size differs so I'll think has new dependencies inside it -as I don't fully understand how the workflow is done, if gets the latest build of the deps or not, never used this thing inside github before), but I was testing it and looks like has the same assertion problem.

As I don't have the debugger installed here, I'm SOL right now :D

Regards!

// There are no overlays running in this env, right now I'm testing on a mobile device so everything's installed to a minimum.

@otavepto
Copy link
Contributor

otavepto commented Oct 5, 2024

what appid caused this?

@v1ckxy
Copy link
Author

v1ckxy commented Oct 5, 2024

1702330

BTW... I think is related with the mouse cursor.
When the error triggers, app cursor becomes dettached from the overlay

image

After error, mouse cursor becomes two: System (blue one) and overlay.
You need to close overlay, open it again and mouse will be ok again.

@Detanup01 Detanup01 added bug Something isn't working overlay Overlay related labels Oct 13, 2024
@Detanup01
Copy link
Owner

Check new Release

@v1ckxy
Copy link
Author

v1ckxy commented Nov 14, 2024

Ok, tested and... it crashes even easier :D

20241114011820_xPGJjqdVy5

Same error as well; Build tested "Release 2024 11 09 (2) Fix"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working overlay Overlay related
Projects
None yet
Development

No branches or pull requests

3 participants