2

I have a multiplayer unity game (actually it is a two player game),
One player runs as host and the second one connects as client.
But I want to client to choose which scene to load.
Which means I need to either use a [Command] to do so.
But I run into client authority issues and get this error: Trying to send command for object without authority.

If I try to set the objects local authority I get: AssignClientAuthority can only be call on the server for spawned objects.

Even if I remove the authority and reset it it ends up with the same owner.

I have tried sending messages using SendAll too.

So is there another way that I am missing?

4

1 に答える 1