Search Issue Tracker
Fixed
Fixed in 1.0.0
Votes
1
Found in [Package]
1.0.0
Issue ID
ECSB-104
Regression
No
"Entities Hierarchy" window stops working when a subscene is loaded using SceneSystem.LoadSubScene
1. What happened
The "Entities Hierarchy" window stops displaying anything when a subscene is loaded using SceneSystem.LoadSubScene(worldUnmanaged, entitySceneReference), and the console outputs the following error:
"ArgumentException: A component with type:Unity.Scenes.SubScene has not been added to the entity."
2. How can we reproduce it using the example you attached
* Open the "MainScene"
* Make sure the "Entities Hierarchy" window is not open currently
* Press play. At this moment, a "SceneLoaderSystem" will find a "SceneLoader" entity in the "BaseSubScene", and will load another subscene that's stored as an "EntitySceneReference" in that "SceneLoader" component
* Open the "Entities Hierarchy" window
* Notice error in console and nothing is shown in window
Unity version : 2022.2b8
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ScrollView speed is slower when entering Play mode
- UI Builder elements disappear and "Semantic - Unknown template name" error appears when changes to "Template" parameter are saved
- Renderers outside Light Probe hull use incorrect Ambient Probe values when "Renderer Light Probe Selection" is set to "Use Ambient Probe" and "Light Probes" on Mesh is set to "Blend Probes"
- ArgumentNullException error occurs when selecting a Camera in the Hierarchy with the Scene view open
- Clicking 'Open Editor Log' through the Console fails to open redirected Logs when relative Log files exist outside of the Project root
Add comment