Skip to content

Shutting down MLAPI while in an RPC. #942

Closed
@daniellochner

Description

@daniellochner

The following error is logged when you try to invoke NetworkManager.StopClient() from within an RPC:
image

Invoke Test() from the server:

[ClientRpc]
public void TestClientRpc()
{
    NetworkManager.StopClient();
}

public void Test()
{
    TestClientRpc();
}

Environment:

  • OS: Windows 10
  • Unity Version: 2020.2.3f1
  • MLAPI Version: v0.1.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions