Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

DOTS Standalone build

Discussion in 'Entity Component System' started by Adraesh, Jan 30, 2021.

  1. Adraesh

    Adraesh

    Joined:
    Jan 3, 2019
    Posts:
    13
    Hi guys!

    I am trying to build a working standalone build, so I set my build configurations following the provided samples here: https://github.com/Unity-Technologi.../master/ECSSamples/Assets/BuildConfigurations

    Even though the build is succesfully done, I realized that if I am not openning the subscene for editing before starting the build pipeline, my standalone build will not render the ECS entities.

    The thing is if a subscene is open for editing, that means the gameobjects inside it will not be treated as entities right?

    What I am missing here? Is this could be related to HybridRendering in standalone? What is exactly the right steps to have a complete DOTS standalone build?

    Thanks!
     
  2. Adraesh

    Adraesh

    Joined:
    Jan 3, 2019
    Posts:
    13
    Ok the issue was related to the NetCode package, basically if you start play mode in Client & Server multiplayer mode and after the standalone client you will not see your player on the standalone exec. If you start first the Standalone client then the editor in Client & Server multiplayer mode it works.

    Though, you start the editor in Server only multiplayer mode then you start the standalone build it works.