Skip to content

ConnectedPeerList is not thread safe #584

@Sasino97

Description

@Sasino97

Sometimes when I call NetManager.ConnectedPeerList.ToList() the collection is changed on another thread, resulting in a System.ArgumentException: Destination array was not long enough. [...]. The current documentation doesn't mention threads or having to use locks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions