You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From a clean boot, when I open Rider without opening Unity, and I open a unity project in Rider, Rider is unable to resolve any symbols, even built-in language keywords like "void". As soon as the project is opened in the Unity Editor, the problem vanishes.
Expected behaviour:
Rider should be able to resolve symbols and allow the user to work on the code regardless of whether or not the Unity Editor is also running.
Reproduction Steps
Have a pre-existing Unity project available on your drive that uses C# and has csproj's generated
Reboot the computer
Open JetBrains Rider. Open the Unity Project's solution.
Open any code file. See errors throughout.
Known Workaround
Opening the Unity Editor to the same project resolves the issues, but this is not always ideal.
Hi! It is not a common issue. Should be somehow specific for your setup.
Please attach Rider logs. Either here or create a new issue with Help->Report a Bug, agree to attach logs.
My first idea is that csproj files somehow become invalid after the reboot and Unity updates them on opening the project.
So please try the following:
After the reboot, when Rider shows red code, open the Problems view, check if something is wrong with the toolset.
make a backup of one of the csproj files, which contains a cs file with errors
Description of problem:
From a clean boot, when I open Rider without opening Unity, and I open a unity project in Rider, Rider is unable to resolve any symbols, even built-in language keywords like "void". As soon as the project is opened in the Unity Editor, the problem vanishes.
Expected behaviour:
Rider should be able to resolve symbols and allow the user to work on the code regardless of whether or not the Unity Editor is also running.
Reproduction Steps
Known Workaround
Opening the Unity Editor to the same project resolves the issues, but this is not always ideal.
System Specs
Fedora 40
JetBrains Rider 2024.1.5#RD-241.18968.19
Rider Unity Support Plugin bundled 241.18968.19
Unity 2022.3.7f1
The text was updated successfully, but these errors were encountered: