com.unity.netcode.gameobjects
com.unity.netcode.gameobjects copied to clipboard
Error when spawn a lot (about 700) of NetworkObjects.
Description
When tried to spawn a lot of NetworkObjects, an error occurred:
Max message size cannot be greater than 65527 UnityEngine.Networking.NetworkTransport:Send (int,int,int,byte[],int,byte&)
It will also occurred when the client reconnect to the host.
Reproduce Steps
Spawn a lot of NetworkObjects in a shrot time on a host, the error occurred.
Screenshots
Environment
- OS: [Windows 11]
- Unity Version: [e.g. 2020.3]
- Netcode Version: [e.g. 1.0.0-pre.8]