Search Issue Tracker
By Design
Votes
4
Found in
5.3.4f1
Issue ID
794106
Regression
No
[Unet]Client disconnects during match making game
Steps to reproduce:
1. Open attached project
2. Open Services tab:
a. Select your organization
b. In Multiplayer tab configure match making service for 2-3 connections
3. Open "Scene 1" scene
4. Build and run project
5. In build click "Create Match"
6. In Unity player run the game and click "Search" button
7. In Unity player click "My Game"
Result: After running for 10-15 seconds (on my machine) client is being disconnected.
Workaround:
In "MyNetworkManager.cs" script override OnClientDisconnect(NetworkConnection conn) method and leave it empty. By doing this after any connection error occurrence from client side, game continues (client isn't being disconnected and his instance cleared).
Note: Reproducible with various combinations (build and build, player and build and etc.)
Reproducible with: 5.3.4f1; 5.3.4p6; 5.4.0b16 (5.4.0b16 repro attached)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
jack3821
Oct 07, 2019 07:57
If you are facing the problems of disconnect then make sure you do every step in the right way. The <a href="https://www.australian-writings.org/">https://www.australian-writings.org/</a> share their experience because they also using match ranking.
trudeaudm
Apr 25, 2017 15:23
This is still not fixed, I can't even test my game properly because all clients are disconnected 4-6 minutes into a game.
kn-narola
Feb 15, 2017 06:13
Hey can you please help me even with starting matchmaking, because i am not even able to create room nor getting room list with WebGL.
freerangegames
Sep 29, 2016 18:48
The work around is not working. All I'm sending is a handshake once a second, so I can see the drop happens between 15-18 seconds every time.
-DarkTiger-
May 12, 2016 09:54
The problem would seem of the MatchMaking Server. The online match pubblication is removed and all clients can't no longer see the Match and they have disconnected.
New clients can't see the Match, it no longer online, but the Host player is on game yet..
Why? My synchronizations are set to 1/10 second, it uses very low bandwidth..
Thanks
-DarkTiger-
May 12, 2016 09:25
The override doesn't work for me :-(
-DarkTiger-
May 11, 2016 17:55
Same problem to all my project, I can't play with MatchMaking over 2 minutes
Please fix it!
Thanks!