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
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- “ArgumentOutOfRangeException” after saving, reseting and re-add Default Tile Palette Tools to the list in Preferences window
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