Description
When NetworkList.OnListChanged is raised for a NetworkListEvent<T> with the Type of EventType.RemoveAt, the field Value of the event is empty server side, while the value is present client side.
Reproduce Steps
- Subscribe to OnListChanged of a NetworkList
- Call RemoveAt(0) on the NetworkList containing at least one element
Actual Outcome
The NetworkListEvent.Value given in OnListChanged is missing server side.
Expected Outcome
The value is present server and client side.
Environment
- OS: Windows 11
- Unity Version: 2021.3.22f1
- Netcode Version: develop (and all previous version)
Description
When
NetworkList.OnListChangedis raised for aNetworkListEvent<T>with theTypeofEventType.RemoveAt, the fieldValueof the event is empty server side, while the value is present client side.Reproduce Steps
Actual Outcome
The NetworkListEvent.Value given in OnListChanged is missing server side.
Expected Outcome
The value is present server and client side.
Environment