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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
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