I have 2 characters and they can spawn blocks. When I let them spawn these things on my client (in my controller class), it makes an RPC to the server and the server calls the spawn function on every client:
How I create the block:
If I spawn something on my client, everything is fine, it gets replicated on my server and both have the same new spawned block. But if I do it on my server, the client camera changes (as if your character died, possession changed maybe?) and in the log I get following message:
LogNet: Received invalid swap message with child index -1
What is wrong?