Expected Custom Room properties doesn't appear to be working

I am using the following code to connect or create a random room. For Some reason the JoinRandom never finds the created room if I pass in the expected custom room properties. if i don't pass any expected properties then it does find the room. What am i doing wrong?
PhotonNetwork.CreateRoom(string.Empty, new RoomOptions
            CustomRoomProperties = new Hashtable
                { "map", "Test" }
            MaxPlayers = 2,
            PublishUserId = true
        }, null);
PhotonNetwork.JoinRandomRoom(new Hashtable
            { "map", "Test" }
        }, 2);

Best Answer


Sign In or Register to comment.