If an actor is spawned from a client, it will not be replicated to other clients automatically if I understand correctly. Thus this should be done by sending a RPC to the server so it spawns the actor and replication occurs.
My question: what if I want the actor to always spawn locally only, even when the current client is also the server? I want to do this because some actors should be private to the current player.
Also of note, the ‘Replicates’ flag is set to true for the actor, since most of the time the spawn should be replicated. I’m looking for a way to override that flag at spawn time in discrete situations.