com.unity.netcode.gameobjects
com.unity.netcode.gameobjects copied to clipboard
Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
### Description I left the server running the whole night and the memory allocation kept growing. No clients were connected during this period, but the server was running a simulation...
GetCurrentRTT doesnt work very well in some condition. 1) This GetCurrentRTT is a framerate independent, when framerate is lower or higher it will change the RTT value slightly. 2) Using...
Remote client can send RPC to NetworkObject that has been despawned on host, resulting in error in ProxyMessage on the host when the RPC is received: > InvalidOperationException: An RPC...
**Setup:** Unity 2023.2.7f1 Netcode for Gameobjects v1.8.1 **Question:** Hi, I have a simple but confusing question about NetworkList variables. When I was testing the state of my clients when they...

The NetworkSpawnManager.InstantiateAndSpawn method takes in a bool isPlayerObject, but the spawn code overwrites this to false every time. You can see here that it sets IsPlayerObject based on the supplied...
### Description The `Duplicate` method in `UnmanagedNetworkSerializableSerializer` causes errors when handling types that implement `IDisposable` due to pure assignment. This leads to issues such as multiple `Dispose` calls on `NativeArray`,...
NetworkTransport: Unity.Netcode.Transports.UTP.UnityTransport UnityTransportProtocol: RelayUnityTransport. This should not happen. Message Size: 170. Message Content: 02 02 7d 9a e2 a5 11 b2 36 17 b3 01 46 c4 ca 04 01...
fix: the v1.10 imposed Dynamic body type even when the user set it initially as Kinematic. Implemented a check that changes the body type to Dynamic when there is ownership...
StartServer() throws exception "Allowed types is not equal to the number of message type indices!"
### Description I call StartServer() when the NetworkManager.OnSingletonReady event is raised (yes, the internal event). This immediately throws the following exception: ``` Exception: Allowed types is not equal to the...