Search Unity

Bug NetcodeSamples

Discussion in 'NetCode for ECS' started by Szejp, Oct 4, 2023.

  1. Szejp

    Szejp

    Joined:
    Apr 6, 2017
    Posts:
    5
    Hi guys,

    I've build NetcodeSamples wtih minor change adding Multiphysics scene into build settings to start both Client&Server and just Client. When running a Client from the Frondend scene I encounter those errors:
    The ghost collection contains a ghost which does not have a valid prefab on the client.

    Any ideas how should I solve the issue?

    upload_2023-10-4_16-10-45.png
     
  2. NikiWalker

    NikiWalker

    Unity Technologies

    Joined:
    May 18, 2021
    Posts:
    316
    Hey Szejp,

    That error is notifying you that your builds are out of sync. You'll need to rebuild both the client and server any time you make Project changes (like adding or changing NetCode code, or prefabs, or scenes).
     
  3. Szejp

    Szejp

    Joined:
    Apr 6, 2017
    Posts:
    5
    Unfortunately that is not the case. I am opening two app instances of the same build executable I've made based on the NetCodeSamples project. Could that mean something else?