Problem: room connection delay (about 90 seconds) on iOS.
Details:
1) The problem is client-based.
2) It occurs on Unity 4.x & Unity 5.x builds, but only while building in 64-bit mode. The problem doesn't occur on obsolete (but still possible) 32-bit builds.
3) The delay occurs while calling API method
- Code: Select all
public void
CreateJoinRoom (string roomId, string roomType, bool visible, Dictionary<string, string> roomData, Dictionary<string, string> joinData, Callback<Connection> successCallback, Callback<PlayerIOError> errorCallback)
with one important note.
We have several room types in our game (lobby rooms, game rooms, queue room, etc.) and in every case we call CreateJoinRoom. And we get this delay only while joining queue room. The difference is that any other room name is generated on the fly (or goes as service room), but the queue room has a predefined string name.
So we have 90 sec delay while connecting to the room with known constant name.
Any thoughts would be helpful.