The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

Try Our
Documentation

Please check if you can find an answer in our extensive documentation on Realtime.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Read More on
Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

UserID already joined the specified game. (JoinMode = 0, Return Code: 32747)

ThanhThien
2020-11-09 18:19:02

Hello everyone!
I got an error when i try to join a room and in that room, already have a player whose name is the same as mine.

In my code when i connect to server, i just use:

So it mean that i didn't given a userID, but when i display photonnetwork.player.UserID, i got the same result as photonnetwork.player.NickName. So I think the reason was here, the photon was automatically assigned userID = NickName. But when i changed UserID to a new random string, i still got this problem :'(.

What's happened? Can someone help me pls (?

Comments

Back to top