Rider stopped recognizing my project and engine
Hi all, posting here hoping someone may have encountered this and could point me in the right way.
After restarting my PC and opening the .uproject in Rider, it's not recognizing any source code files, engine or project. It shows as Engine (load failed) and ArchmageOfErun
(load failed).
The UBT log doesn't seem to show any issues:
12:45:31.972: C:\Programs\Unreal Engine\UE_5.4\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "C:\Programs\Unreal Engine\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" -ProjectFiles -Rider -Automated -Minimize -Platforms=Win64 -TargetTypes=Editor -TargetConfigurations=DebugGame C:\Projects\Workspaces\AOE\AOE\ArchmageOfErun.uproject
12:45:31.998: A JSON parsing exception occurred in [C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.35\Microsoft.NETCore.App.runtimeconfig.json], offset 0 (line 1, column 1): The document is empty.
12:45:31.998: Invalid framework config.json [C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.35\Microsoft.NETCore.App.runtimeconfig.json]
I tried regenerating project files, didn't output any errors.
I can launch the program just fine, and change configuration. Deleting .Rider in Intermediate though completly breaks configs. I've added Rider logs and diagnostics data.
I've updated Rider and also reinstalled net core.
Would love some help.
Please sign in to leave a comment.
Anyone ? Please ?
Hello Abdallah,
Apologies for taking so long to respond.
That looks weird. Can you verify if the `
C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.35\Microsoft.NETCore.App.runtimeconfig.json
` file is actually empty? If so, I recommend reinstalling dotnet to see if that helps. Before reinstalling dotnet, you can try paste this text into that .json file:Another option you can try is to switch .NET CLI executable path in Rider Settings | Build, Execution, Deployment | Toolset and Build. (Try selecting the one that is bundled with Unreal Engine:
C:\Programs\Unreal Engine\UE_5.4\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe
)If that doesn't help and the issue is still relevant, would you mind sharing additional information as described below?
C:\Programs\Unreal Engine\UE_5.4\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "C:\Programs\Unreal Engine\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" -ProjectFiles -Rider -Automated -Minimize -Platforms=Win64 -TargetTypes=Editor -TargetConfigurations=DebugGame C:\Projects\Workspaces\AOE\AOE\ArchmageOfErun.uproject
` from the terminal and share the output, together with files generated underC:\Users\[YourUsername]\AppData\Local\EpicGames\UnrealBuildTool\Log.txt
;Have a nice day!