Hello everyone,
I've recently started the adventure of creating my self-hosted photon server with my own authoritative logic. I've learned already a lot but I still have lot to learn.
I was starting implementing my own server plugin and so edit and add code on my "copy" of the loadbalancing source code found with the photon server download and something strange happens: the server runs, photon too and even the unit test's connection works, but when I try to connect with the vikings demo it just stop working (the error is that after trying to connect, the value inside PhotonNetwork.playerName become null, and I think also all the rest). On Server side, there's no errors and no traces of connections on all logs.
It's not caused by my custom code since I've also tried to rebuild the same untouched source code found in the downloaded archive.
The fun thing is that if I use the already compiled loadbalancing dll's found within the package, everything works.
So my question is: what's wrong? Where I'm missing something? It is normal or do I have some kind of issues with my visual studio/.Net installation?
My procedure to test the new loadbalancing is:
- rebuild all the solution
- copy all the content of ...Photon-OnPremise-Server-SDK_v4-0-29-11263\src-server\Loadbalancing\LoadBalancing\bin
- paste files in ...deploy\Loadbalancing\Master\bin and deploy\Loadbalancing\GameServer\bin
- re-run photon server (even if I've noticed it will automatically reload the server once you change the files).
Any help would be enormously appreciated.
Thank you!
Z
I've recently started the adventure of creating my self-hosted photon server with my own authoritative logic. I've learned already a lot but I still have lot to learn.
I was starting implementing my own server plugin and so edit and add code on my "copy" of the loadbalancing source code found with the photon server download and something strange happens: the server runs, photon too and even the unit test's connection works, but when I try to connect with the vikings demo it just stop working (the error is that after trying to connect, the value inside PhotonNetwork.playerName become null, and I think also all the rest). On Server side, there's no errors and no traces of connections on all logs.
It's not caused by my custom code since I've also tried to rebuild the same untouched source code found in the downloaded archive.
The fun thing is that if I use the already compiled loadbalancing dll's found within the package, everything works.
So my question is: what's wrong? Where I'm missing something? It is normal or do I have some kind of issues with my visual studio/.Net installation?
My procedure to test the new loadbalancing is:
- rebuild all the solution
- copy all the content of ...Photon-OnPremise-Server-SDK_v4-0-29-11263\src-server\Loadbalancing\LoadBalancing\bin
- paste files in ...deploy\Loadbalancing\Master\bin and deploy\Loadbalancing\GameServer\bin
- re-run photon server (even if I've noticed it will automatically reload the server once you change the files).
Any help would be enormously appreciated.
Thank you!
Z