Search Issue Tracker

Active

Under Consideration for 2022.3.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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.