Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.0.0
Issue ID
ECSB-206
Regression
No
InvalidOperationException when "Open for editing" is unchecked on a Subscene
Reproduce step:
1. Load “Assets/Scenes 1/Main.unity” Scene
2. In the Hierarchy Window select the “SimulationSubscen” Subscene
3. Uncheck the "Open for editing" checkmark on the “SimulationSubscen” Subscene
4. Enter Play Mode
Expected result: The Play Mode is entered
Actual result: “InvalidOperationException: System.InvalidOperationException: GetSingleton<{0}>() requires that exactly one {1} exist that match this query, but there are {2}” is thrown in the Console Window
Reproducible with: 1.0.0-pre.15 (2022.2.6f1, 2023.1.0b2, 2023.2.0a2)
Could not test with: 0.17, 1.0.0-pre.15 (2020.3.45f1, 2021.3.18f1 (Could not downgrade the project)), 1.0.0-pre.44 (2023.2.0a2 (Unhandled exception during build: System.NotSupportedException: Could not register to wait for file descriptor 1272)
Reproduced on: Intel MacOS 13.1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Resolution Note:
Hi,
This case is closed as "Won't Fix". This is due to the following resolution given by the developers:
One solution is to make sure those systems (MoveToTestSystem and CharacterGeneratorTestSystem) run only when the entity with the singleton component exists. This can be done by adding this line to the OnCreate method of those systems: state.RequireForUpdate<GridManagerComponent>();
Regards,
Povilas
Customer QA Team