Spawning a new object and passing it to the client

If you do it like this you have to wait until the client knows about this Actor, so until it is replicated and valid for the Client. This can take a few ticks.