Hello!
I'm trying to implement custom game modes for my multiplayer game, which uses PUN. I have it set up so that creating/joining room works when I create a room and then join random. When I try to join a game using expectedCustomProperties it no longer finds the room, even though it appears to be using the correct hashtable settings.
To test it out I created a room like so:
1.table = new ExitGames.Client.Photon.Hashtable(){{"mode","lasertag"}};
2.m_roomOptions.CustomRoomProperties = table;
3. PhotonNetwork.CreateRoom (null, m_roomOptions, null);
And to join a room:
1.table = new ExitGames.Client.Photon.Hashtable (){{"mode","lasertag"}};
2.PhotonNetwork.JoinRandomRoom (table,0);
So it seems that joining with the expectedCustomProperies set to the same hashtable as the created room that it would find it, but it does not. Any ideas where I'm going wrong? I've checked both hashtables and they both contain "mode", "lasertag", I can't figure it out.
I'm trying to implement custom game modes for my multiplayer game, which uses PUN. I have it set up so that creating/joining room works when I create a room and then join random. When I try to join a game using expectedCustomProperties it no longer finds the room, even though it appears to be using the correct hashtable settings.
To test it out I created a room like so:
1.table = new ExitGames.Client.Photon.Hashtable(){{"mode","lasertag"}};
2.m_roomOptions.CustomRoomProperties = table;
3. PhotonNetwork.CreateRoom (null, m_roomOptions, null);
And to join a room:
1.table = new ExitGames.Client.Photon.Hashtable (){{"mode","lasertag"}};
2.PhotonNetwork.JoinRandomRoom (table,0);
So it seems that joining with the expectedCustomProperies set to the same hashtable as the created room that it would find it, but it does not. Any ideas where I'm going wrong? I've checked both hashtables and they both contain "mode", "lasertag", I can't figure it out.