unityPUN2 version 2.29, no network under the local area network, can not connect to their own local

Options
unity PUN2 FREE.The latest version 2.29, no network under the local area network, can not connect to their own local server
I use the old version, normal connection, pro test

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @18081407552,

    Thank you for choosing Photon!

    Please use English only.

    I think this is due to the serialization protocol.
    here is an excerpt from 2.29's Changelog:
    Removed: Setting of protocol 1.6 when connecting directly to a Master Server. This was a workaround for older Photon Server SDKs.
    Note: If you host Photon yourself, you can set the LoadBalancingClient.SerializationProtocol to SerializationProtocol.GpBinaryV16, before you connect.

    So before connecting to your self-hosted Photon Server, set
    PhotonNetwork.NetworkingClient.SerializationProtocol  = SerializationProtocol.GpBinaryV16;
    

    Another solution is to use Photon Server SDK v5.
  • 18081407552
    Options
    Thank you for your reply