Sample project demonstrating how to create a setup where Clients click to request to move a character, but the movement is executed on a Simulator. Requests are done by Clients using NetworkCommands. The Simulator uses a NavMeshAgent to chart the path, and then syncs position, rotation and animation parameters to the connected Clients.
Note: This project is intended as a starting point, and not meant to represent production-ready code. It is structured for ease of learning. For questions and to continue learning, use coherence's Community Forums and Discord.
This video is an overview of the project's structure, and can be a great guidance as you explore the sample: https://www.youtube.com/watch?v=E0GU-BK27R0
This project is set to be opened in Unity 6, and is setup to use Multiplay Play Mode Scenarios. Choose Simulator or Simulator + 1 Client to run a working version of the game. Downgrade to 2022 or 2021 should be possible, but it might require manual work.
This project contains open-source 3D graphics by Kenney Vleugels (kenney.nl)