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
- “Label” name in Sprite Library Editor window lacks character limit causing long names go under the Object Field
- Preview image (screenshot) is not available after capturing snapshot in Memory Profiler
- Crash on UNITY_FT_Stream_ReadAt when changing TMPro properties after unloading an AssetBundle
- Particles spawn at the same position when using raw byte address buffer in VFX Graph
- Decal Shader Graph - Custom vertex interpolators are always 0
This is a duplicate of issue #827884