Jump to content

Server side c# events not getting called


Recommended Posts


I have a simple function linked to the PlayerConnected event which is never getting called. I also have a PlayerDisconnected event however that gets called when player connects.

Code below:


public void PlayerConnect(Client player)
    NAPI.Util.ConsoleOutput("Player connect");

public void PlayerDisconnect(Client player)
    NAPI.Util.ConsoleOutput("Player disconnect");



Found the issue, had to copy bootstrapper from the bridge runtime folder to my nuget package location.

Also needed to set my compilation target arch to x64.


Mods feel free to lock or delete the thread.

Edited by don
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...