SFML community forums

Help => Graphics => Topic started by: levi-coder on August 01, 2021, 02:37:11 am

Title: Exception produced at 0x0707...((sfml-graphics-d-2.dll)
Post by: levi-coder on August 01, 2021, 02:37:11 am
I'm having this issue and I don't know why.... It used to work but I added some code and now i get this error in a part of my code that run correctly before
Title: Re: Exception produced at 0x0707...((sfml-graphics-d-2.dll)
Post by: kojack on August 01, 2021, 05:57:12 am
In the top pic, the "this" pointer is 0. That means updateBoundsCollision is being called on a Player that doesn't exist, it's a null pointer.
You'll need to go back through the call stack (I think it's the "pila de llamadas" tab in the bottom right area) to find where updateBoundsCollision was called from, and why the player was 0.