I am trying to create a system for randomly generating my map every time I host a session, however actors spawned by PCG are not showing. So far I have:
- MapInfo actor generates random number for the seed and rep notifies it.
- When rep notify is received (seed set for all clients) generate the map
- To generate the map I call PCG generate
- PCG spawns static meshes for everyone but only actors for server.
One fix I have is to spawn an actor on the server to spawn selected actors but area replicated but this defeats the purpose of using the seed system.
The main goal is to give clients only the seed and to have them create the entire map on their end so the server doesn’t need to replicate it all.