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 PUN.

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.

How do I adjust the Peer Room value??

Ben0805
2023-04-20 04:42:41

Hi everyone, I would like to ask that I was still using it normally yesterday, but when I want to continue developing the system today, this problem suddenly appeared, how should I solve it?

Operation failed: OperationResponse 226: ReturnCode: -2 (Max Players Peer Room value is too big. value:100. limit:20). Parameters: {} Server: GameServer

UnityEngine.Debug:LogError(Object)

NetworkingPeer:OnOperationResponse(OperationResponse) (at Assets/PhotonPun+/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:1534)

ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback(Byte[])

ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()

ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()

PhotonHandler:Update() (at Assets/PhotonPun+/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:157)

Comments

Tobias
2023-04-21 13:38:20

A 20 CCU subscription can no longer have MaxPlayers above 20. Also, setting 0 is not allowed anymore.

We needed to cap this due to abuse.

Back to top