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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
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!