Search Unity

Subscenes don't load in local builds

Discussion in 'Entity Component System' started by idunlop_oefun, Aug 21, 2020.

  1. idunlop_oefun

    idunlop_oefun

    Joined:
    Aug 31, 2010
    Posts:
    240
    Hi,

    I'm new to using Dots. I have all the latest packages (as of now) for entities, hybrid renderer, urp etc. Running 2020.1.3f1.

    RenderMesh on the entities in question point to a valid looking combine mesh. However, in the editors game view and a local build they are invisible.

    I can only see them in the scene view and the inspector version of the main camera. Any ideas?

    Are subscenes broken?

    Thanks!

    upload_2020-8-21_15-11-38.png
     
  2. idunlop_oefun

    idunlop_oefun

    Joined:
    Aug 31, 2010
    Posts:
    240
    I figured out part of the issue. You need to close subscenes (and make sure they are loaded - by viewing the inspector). Also, it looks like you can't put cameras in them. So, that fixes the visibility issue I was seeing in the editor.

    However, on local builds the subscene isn't loaded at all.
     
  3. idunlop_oefun

    idunlop_oefun

    Joined:
    Aug 31, 2010
    Posts:
    240
    So, apparently there is a new build config system for working with subscenes which I wasn't aware of. However, that system doesn't appear to work correctly... won't let me pick a platform...
     
  4. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,761
    you also want to download your specific platform packages

    e.g. windows
    com.unity.platforms.windows
     
    idunlop_oefun likes this.
  5. idunlop_oefun

    idunlop_oefun

    Joined:
    Aug 31, 2010
    Posts:
    240
    Thanks so much! That didn't allow me to select a platform from a setting I grabbed from the ECS samples. However, it allowed me to create a WindowsClassic config - which worked.