Search Issue Tracker
Fixed
Fixed in 2022.3.14f1, 2023.1.20f1, 2023.2.0b18, 2023.3.0a13
Votes
0
Found in
2022.3.11f1
2023.1.17f1
2023.2.0b14
2023.3.0a11
Issue ID
UUM-54039
Regression
Yes
"InvalidOperationException: Collection was modified; enumeration operation may not execute." is thrown when clearing inactive Background Tasks
How to reproduce:
1. Open the attached project "IN-57433.zip"
2. Open Assets/Scenes/SampleScene.unity
3. Enter Play Mode
4. Open Window>Panels>1 Background Tasks
5. Click "Clear inactive" in the Background Tasks window
Expected results: No errors are thrown in the Console window
Actual results: "InvalidOperationException: Collection was modified; enumeration operation may not execute." is thrown
Reproducible with: 2022.1.0a10, 2022.3.11f1, 2023.1.17f1, 2023.2.0b14, 2023.3.0a11
Not reproducible with: 2021.3.31f1, 2022.1.0a9
Reproducible on: Windows 11 22H2
Not reproducible on: No other environment tested
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2023.3.0a13):
Fixed InvalidOperationException when clearing inactive background progresses.
Resolution Note (fix version 2023.2.0b18):
Fixed InvalidOperationException when clearing inactive background progresses.
Resolution Note (fix version 2023.1.20f1):
Fixed InvalidOperationException when clearing inactive background progresses.
Resolution Note (fix version 2022.3.14f1):
Fixed InvalidOperationException when clearing inactive background progresses.