Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Godot uses old versions of Rider from Toolbox Cache #88835

Closed
elusive-code opened this issue Feb 25, 2024 · 3 comments
Closed

Godot uses old versions of Rider from Toolbox Cache #88835

elusive-code opened this issue Feb 25, 2024 · 3 comments

Comments

@elusive-code
Copy link

Tested versions

v4.2.1.stable.mono.official [b09f793]

System information

Godot v4.2.1.stable.mono - Windows 10.0.19044 - GLES3 (Compatibility) - NVIDIA GeForce RTX 3090 Ti (NVIDIA; 31.0.15.3667) - Intel(R) Core(TM) i5-4440 CPU @ 3.10GHz (4 Threads)

Issue description

When Jetbrains Rider selected in Godot as External Editor and it is installed via Jetbrains Toolbox Godot might pickup wrong version of Rider.
Jetbrains Toolbox maintains several caches, even if in Toolbox only one version is currently active some old files might be present in the system.

In fact even when Rider removed completely Godot manages to launch it.
Note: I double checked - there's no separate version of Rider installed in the system, and Windows Task Manager says path of the executable is
....AppData\Local\JetBrains\Toolbox\apps\Rider\ch-0\231.9011.39\bin
So it is definitely some Toolbox cache

Steps to reproduce

  1. Install Jetbrains Toolbox
  2. Install Rider 2023.1.1
  3. Update Rider to 2023.3.3
  4. Launch Godot
  5. Create new project
  6. Editor>Editor Settings>Dotnet>Editor>External Editor select JetBrains Rider and Fleet
  7. Create C# script, build project
  8. Double click on script

E.R. Rider 2023.3.3 opened
A.R. Rider 2023.1.1 opened

  1. Close Rider
  2. Go to Toolbox, remove Rider completely
  3. Double click on script in Godot

E.R. Message appears that Rider not found, maybe internal editor opened
A.R. It launches Rider 2023.1.1

Minimal reproduction project (MRP)

Test2.zip

@paulloz paulloz added this to the 4.3 milestone Feb 25, 2024
@paulloz
Copy link
Member

paulloz commented Feb 25, 2024

Hello, thanks for the report. I expect this should be fixed by

@raulsntos
Copy link
Member

The mentioned PR should be included in Godot 4.3 dev 4. Can you still reproduce this in a newer version of the engine?

@elusive-code
Copy link
Author

elusive-code commented Apr 20, 2024

@raulsntos
Hello, yes it works fine in new version.

  1. Had installed Rider 2023.3.3, upgraded via toolbox to 2024.1.1.
  2. Opened script from Godot 4.3 dev 4
    AR=ER launched 2024.1.1
  3. Closed Rider, downgraded via toolbox to 2023.3.3, opened script in Godot
    AR=ER launched 2023.3.3
  4. Closed Rider, removed Rider via Toolbox, opened script in Godot
    AR=ER Error shown in output
/root/godot/modules/mono/editor/GodotTools/GodotTools/Ides/Rider/RiderPathManager.cs:112 - Error when trying to run code editor: JetBrains Rider or Fleet. Could not find path to the editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants