Search Issue Tracker

Duplicate

Votes

2

Found in [Package]

1.0.0

Issue ID

ECSB-116

Regression

No

[DOTS 1.0] ArgumentException error is thrown at Entities Hierarchy window load when a sub-Scene is loaded via LoadSubScene method

Package: Entity Component System (ECS)

-

How to reproduce:
1. Open the attached “IN-18499” project
2. Enter the Play Mode in the “MainScene” Scene
3. Open the “Window → Entities → Hierarchy” window from the menu

Expected result: Entities Hierarchy window is properly loaded without any errors thrown
Actual result: Entities Hierarchy window is empty with “ArgumentException: A component with type:Unity.Scenes.SubScene has not been added to the entity.” thrown in the Console log

Reproducible with: 1.0.0-exp.8 (2022.2.0b11)
Couldn’t test with: 2020.3.40f1, 2021.3.12f1 (project isn’t compatible), 2022.1.20f1, 2023.1.0a15 (DOTS isn’t supported)

Reproduced on: macOS 12.5 (Intel)

Note: In 0.51.1 and below, follow the “Window → DOTS → Hierarchy” path in the menu to open the Entities Hierarchy window

  1. Resolution Note:

    null
    Duplicate of another internal issue: ECSB-104: "Entities Hierarchy" window stops working when a subscene is loaded using SceneSystem.LoadSubScene

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.