Hello amazing community ☺️
I have made a subsystem to handle a feature, and naively expected it to be able to spawn actors that would be automatically replicated. (I made a RPC in this subsystem, expecting it to be executed on the server, and expecting the spawned actor would be then automatically replicated)
Turns out it's not the case (RPC needs to be made on actors that are replicated from what I've read, and my subsystem is neither an actor nor replicated)
So, in my case, if the spawning through the subsystem is done on a listen server, it's properly replicated on the clients (because the spawned actor is set as replicated) but if the spawning is done on the client, then the subsystem RPC method doesn't get to the server, and the actor spawning is only done locally: it's not replicated on other clients/listen server.
Is there anything obvious I'm missing here? Or should I make an external replicated actor that my subsystem will use to spawn new actors?
Thanks a lot for any thought 🙏