Steps to reproduce:
- Create a new 3D URP project
- Install the Entities package (com.unity.entities)
- Go to Editor Preferences > Entities
- In the "Type Of Worlds Shown" dropdown select "Everything"
- In the Hierarchy, right-click and create a Sub Scene
- Select the Sub Scene
- In the Inspector, click "Close"
- Observe the Console
Actual results: "InvalidOperationException: The previously scheduled job AsyncLoadSceneOperation:AsyncLoadSceneJob writes to the Unity.Entities.EntityManager AsyncLoadSceneJob.Transaction.m_Manager." and "ArgumentException: DeserializeWorld can only be used on completely empty World" errors are thrown
Expected results: No errors are thrown
Reproducible with versions: 6000.5.0b1, 6000.5.1f1, 6000.6.0a7
Can’t test with versions: 6000.4.12f1 ("Type Of Worlds Shown" dropdown not available)
Tested on (OS): macOS 26.5, Ubuntu 24.04
Note:
- Repeating the Open/Close action starts throwing more errors