SubScene not Auto-Loading in StandaloneBuild (2023.1)

Hi - I have an ECS project that works fine in the Editor (2023.1.9f1) Play Mode. The entities are baked via a subscene in my “TowerMap” scene, which is loaded by an initial “Login” scene. The entities load fine in Play Mode, but at runtime I am stuck at the following loop in my GameManager (Monobehaviour in the “TowerMap” scene that is outside the subscene):

var em = World.DefaultGameObjectInjectionWorld.EntityManager;
var boardQuery = em.CreateEntityQuery(new ComponentType[] { typeof(ExecuteGameBase) });

Entity executeEntity;
while (!boardQuery.TryGetSingletonEntity<ExecuteGameBase>(out executeEntity)) { yield return null; }

where ExecuteGameBase is added to one of the default entities in the subscene (by the ExecuteAuthoring script - see screenshot)

Not sure if something different for building eCS - I found a couple of responses for older versions which advise using a buildconfiguration, but that doesn’t seem to be the flow anymore?

Unity 2023.1 does NOT support ECS, use 2022.3 instead.

Hi there I have this problem in ECS 2022.3.6f1 Too any solutions

Hi, anything in the player.log?

Hey yeah, managed to figure out we had a mono in the subscene that we were trying to access that was breaking things and I assumed it wasnt an issue as we were enabling the scene in the editor manually thinking that was a requirement for the subscene to be activated, i refactored things and all is working as intended now

I have the same issue, when ENABLE_CONTENT_DELIVERY is defined in the playersettings.