I keep getting (The requested feature is not implemented)

Options
I get the error

NotImplementedException: The requested feature is not implemented.
Photon.Realtime.LoadBalancingClient.OpCreateRoom (Photon.Realtime.EnterRoomParams opParams) (at Assets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:1485)

and i dont know why this is happening when i see other people using the code PhotonNetwork.CreateRoom(roomName, roomOps); which should work.

Comments

  • Tobias
    Tobias admin
    edited April 2019
    Options
    Which version of PUN is that?
    How exactly does your CreateRoom code look like?
  • IanDircks
    Options
    it is version 2.9 and the code is

    void CreateRoom()
    {
    Debug.Log("Trying to create a new room");
    int randomRoomName = Random.Range(0, 10000);
    RoomOptions roomOps = new RoomOptions() { IsVisible = true, IsOpen = true, MaxPlayers = (byte)MultiplayerSetting.multiplayerSetting.maxPlayers};
    PhotonNetwork.CreateRoom("Room" + randomRoomName, roomOps);
    }
  • Tobias
    Options
    I just started a Photon Server (Photon-Server-SDK_v4-0-29-11263) used Photon Control to setup a Game Server IP (one of my local ones) and to start the server.
    In PUN 2.9, I edited the PhotonServerSettings to: Use Name Server = false, Server = 127.0.0.1 and Port = 5055. Copied your code into ConnectAndJoinRandom() and used it instead of PhotonNetwork.JoinRandomRoom().

    Connected, created the room and got no error.

    I have no idea where this error happens and why.
    I begin to think it's not one of ours.
  • Tobias
    Options
    Post the full log of a debug build. That may (or may not) help.
    Also: Are you building for standalone or some other platform? Which Unity Editor version?