Let’s say I have a navmesh agents array which must follow each player joined.
I already have a basic logic like OnPlayerJoin it spawn an instance of an agent, and it works, but only localy, so each player see only its own agent in movement, while agents for other playes are motionless.
Is there any way to make them sync? According to official guide I already tried to add VRCObjectSync component on the agent prefab, add collider, rb, add PickUp component (even i don’t want it to be pickupable) – unmark it pickupable / mark it pickupable – result is the same. only local motion update.
I suspect its because using a rigidbody with navmeshAgent suposed it to be kinematic only. So probably using them both could prevent VRC syncing code by somehow
Do you have any clue on how it could be fixed?
I’m newbie in udon, but pretty familar with unity and sharp so I prefer to use udon sharp instead default node system. But i’ll be really gratefull for any suggestion which push me in the right direction )