Search Unity

Subscenes do not load in build

Discussion in 'Entity Component System' started by GaryT_01000111, Jan 2, 2020.

  1. GaryT_01000111

    GaryT_01000111

    Joined:
    Aug 4, 2017
    Posts:
    13
    The subscenes in my project do not seem to be included in the build. That is, when I run the build, the subscenes do not load.

    Repo
     
  2. GaryT_01000111

    GaryT_01000111

    Joined:
    Aug 4, 2017
    Posts:
    13
    Could someone please help? I want to know what went wrong. If there is any other information that I should provide, let me know.
     
  3. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    You need to build a player via the new BuildSettings. See the release notes for entities.
     
    GaryT_01000111 likes this.
  4. GaryT_01000111

    GaryT_01000111

    Joined:
    Aug 4, 2017
    Posts:
    13
    Are you referring to this?
     
  5. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,761
    GaryT_01000111 likes this.
  6. GaryT_01000111

    GaryT_01000111

    Joined:
    Aug 4, 2017
    Posts:
    13
  7. GaryT_01000111

    GaryT_01000111

    Joined:
    Aug 4, 2017
    Posts:
    13
    Thank you Joachim and tertle, it works now. I will try to be more aware of changes in the package from now on.
     
  8. Quatum1000

    Quatum1000

    Joined:
    Oct 5, 2014
    Posts:
    889

    Upgrade guide
    • If you are using SubScenes you must use the new BuildSettings assets to make a build & run it. SubScenes are not supported from the File -> BuildSettings... & File -> Build and Run workflows.
    • Entities requires AssetDatabase V2 for certain new features, we do not provide support for AssetDatabase V1

    Where I find the BuildSettings Assets for Hybrid RendererV1 and 2021.5.1f?

    I got some bugs and missing stuff.
    Untitled-1.jpg

    Using this? But thats a preset and not an .asset.

    Is there any tutorial what to do?
    Untitled-2.jpg
     
    Last edited: May 2, 2021