PUN 2++ upgrading from 2.27 to 2.33. Unknown operation code 227.

Hi!

Yesterday I updated PUN 2+ from version 2.27 to version 2.33 and the photon stopped creating a room. Up to this point, everything worked on version 2.27 without problems (since about the beginning of the year). The Unity version has also not been updated since the beginning of the year - Unity 2020.2.3f1. And so I decided to update PUN 2+ and it stopped working. :(

A.png
B.png

The code is the same as it was in version 2.27 - I didn't change anything.

RoomOptions roomOps = new RoomOptions() {
     IsVisible = true,
     IsOpen = true,
     MaxPlayers = map.MaxPlayers,
     PublishUserId = true
};

PhotonNetwork.CreateRoom(
     uniqueRoomName,
     roomOps,
     TypedLobby.Default
);


Please tell me what could be the problem in the new version 2.33? How can I fix this so that everything works as before?

Thank you!

Comments

  • Hi @Volk,

    Make sure you are not using Photon Chat AppId in PUN client.
    Make sure client is connected to Master Server (not NameServer) before calling CreateRoom.
  • Volk
    Volk
    edited July 27
    JohnTube wrote: »
    Hi @Volk,

    Make sure you are not using Photon Chat AppId in PUN client.
    Make sure client is connected to Master Server (not NameServer) before calling CreateRoom.

    1. Why can't I use the chat in PUN 2+ 2.33 anymore?
    In 2.27, the chat works and I need it.
    How can I use the chat in 2.33 now?

    2. And how should I check it now?
    Do you have a sample code?

    Thank you!
  • JohnTube
    JohnTube mod
    edited July 27
    1. I meant it looks like you have a Chat AppId in the Realtime AppId field in PhotonServerSettings.AppSettings, so app type mismatch.
  • Volk
    Volk
    edited July 27
    JohnTube wrote: »
    * I meant it looks like you have a Chat AppId in the Realtime AppId field in PhotonServerSettings.AppSettings, so app type mismatch.

    Sorry! I'm a silly, stupid donkey! You're right! :/
    The question is closed. :):)o:)