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
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
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