title: CreateRoom failed. Client is on MasterServer
body: <p>When i trying to create room, nothing happens and there is an error in title. What should I do?</p>
  <p>If it is possible, than write what specificly should be replaced.</p>
  <p>Full error:</p>
  <blockquote>
  <p>CreateRoom failed. Client is on MasterServer (must be Master Server for matchmaking)but not ready for operations (State: PeerCreated). Wait for callback: OnJoinedLobby or OnConnectedToMaster.</p>
  </blockquote>
  <blockquote>
  <p>UnityEngine.Debug:LogError (object)</p>
  </blockquote>
  <blockquote>
  <p>Photon.Pun.PhotonNetwork:CreateRoom (string,Photon.Realtime.RoomOptions,Photon.Realtime.TypedLobby,string[]) (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetwork.cs:1782)</p>
  </blockquote>
  <blockquote>
  <p>MenuManagerScript:CreateRoom () (at Assets/MenuManagerScript.cs:15)</p>
  </blockquote>
  <blockquote>
  <p>UnityEngine.EventSystems.EventSystem:Update () (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:385)</p>
  </blockquote>
  <p>Full code:</p>
  <pre><code>using System.Collections.Generic;
  using UnityEngine;
  using UnityEngine.UI;
  using Photon.Pun;
  using Photon.Realtime;
  
  public class MenuManagerScript : MonoBehaviourPunCallbacks
  {
      public InputField createInput;
      public InputField joinInput;
      public void CreateRoom() {
          RoomOptions roomOptions = new RoomOptions();
          roomOptions.MaxPlayers = 4;
          PhotonNetwork.CreateRoom(createInput.text, roomOptions);
      }
      public void JoinRoom() {
          PhotonNetwork.JoinRoom(joinInput.text);
      }
      public override void OnJoinedRoom() {
          PhotonNetwork.LoadLevel(&quot;Game&quot;);
      }
  }
  I take code from this video: https://youtu.be/IfP5ChmhVFk?t=485
  </code></pre>