docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Synchronizing states and inputs

    Topic Description
    Ghost snapshots and synchronization A ghost is a networked object that the server simulates. During every frame, the server sends a snapshot of the current state of all ghosts to the client.
    Ghost spawning A ghost is spawned by instantiating it on the server, as all ghosts on the server are replicated to all clients automatically.
    Commands The client sends a continuous command stream to the server when the NetworkStreamConnection is tagged to be "in-game". This stream includes all inputs and acknowledgements of the last received snapshot.
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)