Firstly I’m assuming this is the correct way to communicate to Server (I want to say Client wants to target this Entity, so I send its ghostId), I found GhostSendSystem.SpawnedGhostEntityMap on Server and GhostReceiveSystem.SpawnedGhostEntityMap on Client, so I need to check since the system runs on both. But I need to call EntityManager.CompleteAllJobs in order to use them. Is this the right way?
Both the send and recevice system has a LastGhostMapWriter
, that is the correct thing to complete or depend on. If you schedule jobs reading or writing the ghost map you also need to assign a new handle to LastGhostMapWriter
1 Like