Skip to content

NetworkListEvent miss value for EventType.RemoveAt events server side #2542

@PitouGames

Description

@PitouGames

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

  1. Subscribe to OnListChanged of a NetworkList
  2. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:mediumThis issue has medium priority and may take some time to be resolvedstat:importedStatus - Issue is tracked internally at Unitytype:bugBug Report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions