Jump to content

System.AccessViolationException while calling a player name


Recommended Posts

I have an OnPlayerConnected event which is supposed to display the player name connecting on the console.

Whenever I enter the server, it freezes and throws the access violation exception on line 19.

In the debugging output once I stop the server, it says:


An unhandled exception of type 'System.AccessViolationException' occurred in Bootstrapper.dll
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Here are images of the code, the running server, and the error:




I tried overwriting the Bootstrapper.dll found in runtime folder with the Bootstrapper.dll found in the netcoreapp2.2 folder but the error still remains. Please help.

Edited by DevBe
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...