Search Issue Tracker

By Design

Votes

0

Found in [Package]

0.1.1, 0.3.0, 0.5.1

Issue ID

1217028

Regression

No

[ECS] MainScene entity world only generates in Editor-Mode when using SubScenes

Package: Entity Component System (ECS)

-

How to reproduce:
1. Open attached project "NoWorldRepro.zip" and scene "SampleScene"
2. Observe Entity Debugger window
3. In Hierarchy, select "NewSubscene" GameObject, right-click -> New SubScene From Selection
4. Observe Entity Debugger window

Expected result: The MainScene generates an entity world in Editor-Mode, without the use of SubScenes
Actual result: Creating a SubScene is required to generate an entity world in Editor-Mode

Reproducible with: 2019.2.20f1, 2019.3.0f6, 2020.1.0a23
Could not test with: 2017.4.36f1, 2018.4.17f1 (no entities SubScene support)
Reproducible with package versions: 0.1.1, 0.3.0, 0.5.1

  1. Resolution Note:

    The main scene cannot be converted to an entity. SubScenes can be converted to entities. These entities end up in the main world. They don't end up there immediately and go through some other worlds (conversion, streaming), but those worlds should be of no concern for the user.

    As soon as you have at least one entity in edit-mode, there will be a main world. And right now the only way of getting an entity in edit mode is to have at least one SubScene.

    The long term plan is to have a way of turning the main into an entity, but right now the main scene remains a gameObject scene.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.