Cannot Join Room by Photon Self Hosted Server

I am using photon self hosted server. I followed the documentation https://doc.photonengine.com/en-us/server/current/getting-started/photon-server-in-5min#step_by_step, and start the server except the IP thing, as I am testing on local host. So, now the demo game stuck there.

Giving 127.0.0.1 as a local host ip and 0 as a port so it will get default port. Funny part is if I gave PUN ID the game works fine for photon cloud.

I searched a lot but couldn't find relevant issue. Any idea?

Answers

  • hi, @polkacitydev

    if you do not have any created game how join random will work?

    you should handle this error to create room or use JoinRandomGameOrCreate


    best,

    ilya