i am trying the set up the blank starter project with the feature module for transform synchronization. But i can’t get it to work.
Based on the documentation i tried the following steps:
- Adding TransformSynchronizationHelper.AddClientSystems(Worker.World); in my UnityClientConnector class within the HandleWorkerConnectionEstablished method.
- Adding TransformSynchronizationHelper.AddServerSystems(Worker.World); in my UnityGameLogicConnector class within the HandleWorkerConnectionEstablished method.
- Adding TransformSynchronizationHelper.AddTransformSynchronizationComponents(template, serverAttribute); to my CreatePlayerEntityTemplate method for player creation.
- Create following transform strategies
- Adding the transform synchronization script to the following player prefabs (capsule)
None Authoritative Player
At the moment i can see other player capsules and can walk with the individual players (development scene + additional client through standalone client), but the transform synchronization not working.
Any suggetions to get this to work?
Thanks in advance!