Issue Using Rider for Godot C# on Linux
Hi there, I'm struggling with this error:
/root/godot/modules/mono/editor/GodotTools/GodotTools/Ides/Rider/RiderPathManager.cs:113 - Error when trying to run code editor: JetBrains Rider or Fleet. Could not find path to the editor.
I'm trying to have godot open the C# script file using rider from the godot engine and I keep encountering that error. I have gone to Editor Settings (advanced settings ticked) | Dotnet | Editor| External Editor and selected Jetbrains Rider from the dropdown. This works fine on windows but on linux I get the above error message. I have tried a number of different things.
1. Ensuring “rider” is executable and in my environment path. When I run terminal and type “rider” it loads
2. Making a jetbrains-rider.desktop file and placing it in /home/<username>/.local/share/applications directory. This allows me to launch rider correctly, but does the error persists.
3. Adding the path to the Custom Exec Path under the Editor Settings (advanced settings ticked) | Dotnet | Editor and selected Jetbrains Rider and tried this both with and without Editor Path Optional path filled as well.
I can get it to run using the Editor Settings | Text Editor | External approach though just not sure why the other one doesn't work
Please sign in to leave a comment.
Hello Vik,
That sounds weird. What is the Linux distribution/version, what is the Godot version you use, and how did you install Rider?
Recommended approaches are ToolBox, snap or .tar.gz