com.unity.netcode.gameobjects icon indicating copy to clipboard operation
com.unity.netcode.gameobjects copied to clipboard

Error when spawn a lot (about 700) of NetworkObjects.

Open XYZboom opened this issue 2 years ago • 0 comments

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

image

Environment

  • OS: [Windows 11]
  • Unity Version: [e.g. 2020.3]
  • Netcode Version: [e.g. 1.0.0-pre.8]

XYZboom avatar May 05 '22 07:05 XYZboom