Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Exception produced at 0x0707...((sfml-graphics-d-2.dll)  (Read 3573 times)

0 Members and 1 Guest are viewing this topic.

levi-coder

  • Newbie
  • *
  • Posts: 4
    • View Profile
Exception produced at 0x0707...((sfml-graphics-d-2.dll)
« 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

kojack

  • Sr. Member
  • ****
  • Posts: 343
  • C++/C# game dev teacher.
    • View Profile
Re: Exception produced at 0x0707...((sfml-graphics-d-2.dll)
« Reply #1 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.