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

Author Topic: "AccessViolationException" when my game ends, SFML.Net, C#  (Read 2925 times)

0 Members and 1 Guest are viewing this topic.

Tigre Pablito

  • Full Member
  • ***
  • Posts: 226
    • View Profile
    • Email
"AccessViolationException" when my game ends, SFML.Net, C#
« on: October 06, 2020, 10:33:17 pm »
Hello Ladies and Guys from SFML

My "wonderful" game I'm currently working on (about Super Mario Bros. - much better than before ones) throws an AccessViolationException when I quit the application. I'm using SFML.Net, C#, on Windows 7 64 bit.

Could someone tell me what could be the causes of this, on what SFML is concerned? I think the cause must be an SFML object. The Debugger doesn't show me the part of the code that produces this Exception.  :(

I'll be posting the game in the projects forum when I finish designing levels ... and solve this issue.  :)

Thanks in advance
Pablo
PS: Note I didn't use the word "poor".  ;)
« Last Edit: October 06, 2020, 10:35:11 pm by Tigre Pablito »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: "AccessViolationException" when my game ends, SFML.Net, C#
« Reply #1 on: October 07, 2020, 07:45:23 am »
Quote
The Debugger doesn't show me the part of the code that produces this Exception.
But it certainly shows what called it in your own code, right?

Don't expect many useful replies, when all you say is that your game crashes. We can help to solve specific problems, but you have to debug, investigate and gather at least some basic informations.

Quote
PS: Note I didn't use the word "poor".
Amazing ;D
Laurent Gomila - SFML developer

 

anything