Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

Network Config Mismatch error (while config is the same)

Discussion in 'Netcode for GameObjects' started by Altalus06, Jun 4, 2021.

  1. Altalus06


    Sep 3, 2017

    For those of you who are experiencing the "Network Config Mismatch" problem when the config seems to be identical on the client and server, I found a small bug in the NetworkManager inspector that causes this.

    Disabling the "Enable Scene Management" checkbox also disables "Use Prefab Sync", and automatically checks that box.

    When debugging the source code to see where the mismatch problem was coming from , I discovered that the network config is not updated accordingly.

    If the box was unchecked before disabling scene management, the parameter will remain "False" in the network config, thus leading to a potential Mismatch if the box is checked on the server.

    You should therefore remember to always check this box before disabling scene management.

    Hope it helps
    luke-unity likes this.