Search Issue Tracker
Won't Fix
Votes
2
Found in
2022.3.11f1
2023.1.17f1
2023.2.0b14
2023.3.0a10
6000.0.0b11
Issue ID
UUM-53743
Regression
Yes
Unhandled exception “System.AggregateException: One or more errors occurred.” is thrown in Rider when Unity Editor is Reloading Domain after saving script changes with debug mode enabled
Reproduction steps:
1. Open the attached "PROJECTFILE" project
2. Select the Debug button in the Status bar bottom right corner
3. Enable the debug mode by clicking the “Switch to debug” button
4. Open the “Assets/NewBehaviourScript.cs” file with Rider
5. Click on the green “Debug 'Attach the Unity Editor'“ button visible in the Rider Toolbar
6. Click the “Play/Edit” button in the Rider Toolbar
7. Modify the “NewBehaviourScript.cs” script by adding an empty space in line 9
8. Save the changes done in the “NewBehaviourScript.cs” script
8. Focus back on the Unity Editor
Expected result: The script is compiled and there are no exceptions thrown
Actual result: Editor gets stuck on “Reloading domain" and an unhandled exception is thrown in Rider “System.AggregateException: One or more errors occurred.”
Reproducible with: 2022.3.11f1, 2023.1.17f1, 2023.2.0b14, 2023.3.0a10
Not reproducible with: 2021.3.31f1
Reproducible on: macOS Ventura 13.6 (M1 Max)
Not reproducible on: No other environment tested
Note:
-Issue reproduction is inconsistent and might happen only after saving changes and returning to the Editor several times
-Sometimes different unhandled exceptions may be thrown
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
After a discussion with other developers it was decided this issue won't be fixed. To solve this problem, please switch off Break on unhandled exceptions setting in Rider that can be found:
File | Settings | Build, Execution, Deployment | Debugger | Break on unhandled exceptions