I have a problem
when I join my room(the room setted Variables when I create) if I use sfs.GetRoomList(); I can't get Room Variables, It's null ! if I comment this function (sfs.GetRoomList(); ) It's run ok
Thanks!
GetRoomList(); bug ?
GetRoomList(); bug ?
Noolza
Hi,
you shouldn't call GetRoomList after you have joined a Room.
GetRoomList needs to be called once to get the list of available rooms.
From that moment on you will receive smaller updates via the onRoomAdded onRoomDeleted events.
Calling GetRoomList after you have joined one or more rooms will erase your current local data. Simply avoid it and it will work wonders. Plus you can check the examples if you have any doubts.
Hope it helps
you shouldn't call GetRoomList after you have joined a Room.
GetRoomList needs to be called once to get the list of available rooms.
From that moment on you will receive smaller updates via the onRoomAdded onRoomDeleted events.
Calling GetRoomList after you have joined one or more rooms will erase your current local data. Simply avoid it and it will work wonders. Plus you can check the examples if you have any doubts.
Hope it helps
Return to “.Net / Unity3D API”
Who is online
Users browsing this forum: No registered users and 32 guests