why CustomProperties is null?
Options
Hello
Why the result of the room.CustomProperties is null?
I want to access information(map,roomLevel etc...) about each room I specified a roomOptions.CustomRoomProperties in the create room function.
code:
public override void OnRoomListUpdate(List<RoomInfo> roomList)
{
foreach (RoomInfo room in roomList)
{
print("roomOptions : " + room.CustomProperties["Scene"]);
foreach (var value in room.CustomProperties)
{
print("value>>> " + value);
}
}
Result:
roomOptions :
UnityEngine.MonoBehaviour:print (object)
0
Comments
-
Bump
0 -
You need to define which Custom Properties should be available in the lobby. See the Matchmaking doc.
0