I’ve been slowly getting my head around replication for the last couple of weeks, but I’ve run into a bit of an issue.
For context, I’m working on a 2D level generator. The basic way it works is the Listen Server adds in a completely filled tilemap section (actually an actor with a tilemap component). It then determines which room to add and where it needs to go, and then the room is “carved” out of the tilemap by removing/updating the appropriate tiles. This process loops until the level is complete (additional tilemap sections are added as required).
Currently it works great on the server, but I’d like it to replicate to clients. The issue I’m having is that, while the section actors are replicating, the tilemap components appear on the client in their “original” state, i.e. completely filled with no rooms carved out. I’ve tried checking the “replicates” checkbox for both the actor and component. I’ve also tried setting the component to replicate after the tilemap has been updated.
I’m just wondering if tilemap changes actually replicate, and is there something I need to do to make this happen? Or if they don’t, does anyone have any ideas for a workaround?