I spent all day yesterday working on replication for my game, and the more I learn about it, the more I absolutely despise it. Do I really have to send a bunch of requests to the player controller and have it interface back to the object for every single thing I need replicated? It seems not only tedious but also likely to bloat the player controller with countless server and multicast events. Plus, I’ll need to create interfaces for every type of thing I want to replicate. There has GOT to be a more efficient way to handle this—game development is already tedious enough. If anyone has any tips or pointers, I would greatly appreciate it.
For example, I’m struggling with actor spawning when the actor has an instance-editable variable exposed on spawn. How am I supposed to handle that without creating a specific event in the player controller to spawn the actor on the server and set its variable?