godot: The Rider option does not start Rider, but Custom does.
Godot version
4.1.beta2.mono
System information
Godot v4.1.beta2.mono - Manjaro Linux #1 SMP PREEMPT_DYNAMIC Sun Jun 4 18:26:12 UTC 2023 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1650 (nvidia; 530.41.03) - Intel® Core™ i5-9300H CPU @ 2.40GHz (8 Threads)
Issue description
The Rider option does not start Rider, but Custom does.
https://github.com/godotengine/godot/assets/52148221/26ffbaa6-0835-4b5e-98a3-cfa137ee7252
error:
modules/mono/glue/runtime_interop.cpp:1325 - Error when trying to run code editor: JetBrains Rider. Exception message: 'Cannot start process because a file name has not been provided.'
Steps to reproduce
- External Editor select Rider and double click on the cs file.
- External Editor select Custom and double click on the cs file.
Minimal reproduction project
None
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (10 by maintainers)
Yep, I understand that but my confusion comes from the fact that I shouldn’t need to use Custom as Rider is installed in /Applications which is the default path.
Even changing it to Custom didn’t work. I had to change it to:
/Applications/Rider.app/Contents/MacOS/riderAnd that did the trick. Might be nice to have a hint for us Mac users in that property maybe?
@alex-dearden it’s important to note that in the Editor Settings the “Custom Exec Path” will be ignored unless you select “Custom” for External Editor.
To provide another data point: I’ve got rider installed via yay, I just pointed the custom exec path to “/usr/bin/rider” and that works fine, and I have a desktop file at “/usr/share/applications/rider.desktop”
It looks like Godot can’t find the path to JetBrains Rider. It tries to locate it from:
$HOME/.local/share/applications/jetbrains-rider.desktop./snap/rider/current/bin/rider.sh.Do any of those files exist in your computer? How did you install Rider?
Also, to be honest the error could be improved, we should check if the path is empty before attempting to start a process.