Search Issue Tracker
Duplicate
Votes
0
Found in
5.5.0b3
Issue ID
832051
Regression
Yes
NetworkServer throws error: 6 if client disconnects by stopping play mode instead of calling Disconnect()
To reproduce:
1. Open attached project (server)
2. Create a new project in a different editor window (client)
3. Paste this into a script and add it to an object:
public class GameController : MonoBehaviour
{
NetworkClient _net;
private void Start()
{
_net = new NetworkClient();
_net.Connect( "127.0.0.1", 21999 );
}
}
4. Enter play mode on the server project
5. Enter play mode on the client project
6. After the client project connects to the server project, exit play mode on the client project
Notice that errors appear in the console of the server project.
Reproducible on: 5.5.0b4, 5.5.0b3
Not reproducible on: 5.4.0f2
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
- Console displays "ArgumentException: Cannot unschedule unknown scheduled function UnityEngine..." error after the "Audio Random Container" closing
- [Ubuntu] Asset Bundles Dropdowns Contain Empty Row in Inspector
- Symbols are generated for a third-party native plug-in with 'Shared Library Type' set to 'Executable' when building for Android
- "Search by Import Log Type" Icon Nearly Invisible in Light Theme (Project Window)
- [Android] Realtime Directional Light turns off when there is no realtime shadow caster in the view
This is a duplicate of issue #827884