Photon Server Plugin SDK: `OnJoin` does not trigger

edited February 2018 in Photon Server
Hey guys,

Just wanted to ask a technical question in regards with the Plugin callback `OnJoin`

I've been debugging my custom plugin and I wanted to check the data being passed on the `OnJoin` callback so I try to add a break point inside of it, however it seems the code is being skipped or not triggered for unknown reason.

So I've tried adding break point to other parts of my code eg: `OnRaiseEvent` or the `OnCreateGame` and the break point triggers correctly.

I can assure that the game is working as expected it can create and join a room, it's just that the specific events does not trigger on the server plugin code.

I'm not sure if I did something wrong with my implementation or maybe it just does not trigger (both plugin-side or client-side)


  • JohnTubeJohnTube mod
    edited February 2018
    Hi @Kaito,

    How are you joining rooms? What method are you calling and are you joining an existing room?
    Maybe you are expecting OnJoin to be called for room creation which is not the case or maybe you are not joining a room and instead creating a new one.
Sign In or Register to comment.