I keep getting wierd behaviour and errors when I use nested SubScenes, this error when I open/close the root subscene:
ArgumentException: DestroyEntity(EntityQuery query) is destroying entity Entity(3347:4) which contains a LinkedEntityGroup and the entity Entity(5291:12) in that group is not included in the query. If you want to destroy entities using a query all linked entities must be contained in the query..
This Error when I start the game:
AssertionException: Assertion failure. Value was False
Expected: True
UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) (at <21b5136302b44b7c950da7557d38186f>:0)
UnityEngine.Assertions.Assert.IsTrue (System.Boolean condition, System.String message) (at <21b5136302b44b7c950da7557d38186f>:0)
UnityEngine.Assertions.Assert.IsTrue (System.Boolean condition) (at <21b5136302b44b7c950da7557d38186f>:0)
Unity.Scenes.SubScene.AddSceneEntities () (at Library/PackageCache/com.unity.entities@0.16.0-preview.21/Unity.Scenes/SubScene.cs:205)
Unity.Scenes.SubScene.OnEnable () (at Library/PackageCache/com.unity.entities@0.16.0-preview.21/Unity.Scenes/SubScene.cs:190)
Is nesting subscenes even supported or this something I just shouldn’t do?