Search Issue Tracker
In Progress
Fixed in 2022.3.7f1, 2023.1.8f1, 2023.2.0b4, 2023.3.0a1
Fix In Review for 2021.3.X, 2024.1.X
Votes
4
Found in
2021.3.26f1
2022.2.21f1
2023.1.0b18
2023.2.0a16
2024.1.0a1
Issue ID
UUM-36463
Regression
Yes
[Linux] Editor becomes focused when saving a script file in JetBrains Rider
Reproduction steps:
1. Create a new project
2. In the Project view, right-click anywhere > Create > C# Script
3. Open the created script with Jetbrains Rider
4. Add some changes to the C# Script
5. Save the changes
Expected result: Jetbrains Rider stays in focus after saving the changes
Actual result: Unity Editor becomes focused when changes are reloaded
Reproducible with: 2021.3.26f1, 2022.2.21f1, 2023.1.0b18, 2023.2.0a5, 2023.2.0a16
Not reproducible with: 2020.3.48f1, 2023.2.0a1, 2023.2.0a4
Reproducible on: Ubuntu 23.04
Not reproducible on: Ubuntu 22.04, Windows 10 Pro
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
- [iOS] Back Triple Camera is not focusing manually and automatically
- Mouse inputs cannot be inputted when searching the Shortcuts Menu by type "Shortcut"
- "Debug Assertion Failed!" error when launching Windows Dedicated Server Player with Script Debugging enabled
- [Cinematic Studio][3D HDRP] Shader warnings thrown in the Console window when creating a new project with Cinematic Studio template
- Autoplay is triggered on Audio Assets when changing Asset Bundle tags
senden9
May 23, 2023 12:44
For other people hitting that bug: As a workaround, you can uncheck the "Automatically refresh assets in Unity" setting in Rider. You find that setting under "Settings" -> "Languages & Frameworks" -> "Unity Engine" -> "General" -> "Automatically refresh assets in Unity".
Unity will then only compile assets when you gave it focus. This is a bit annoying because you have to wait there, but less annoying than get your focus stolen every time something is saved.
There is a corresponding issue in the Jetbrains issue tracker but sadly the unity issue tracker forbids links to the jetbrains tracker. If someone want to see it, the issue number on youtrack dot jetbrains dot com is RIDER-58536.