Search Issue Tracker
Won't Fix
Won't Fix in 6000.0.X
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
- Console Warning -- KeyboardIconAtlas sprite Input Outline goes beyond the boundary of the Sprite rect.
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
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
Resolution Note (6000.0.X):
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