Rebuild code without restarting IDE

Hey guys. I’m using Jetbrains Rider as the IDE for Unreal Engine development.

Before I reinstall my rider and UE5.1 today, the following behaviours are allowed (works for new projects)

  • Start Rider first
  • Click Run Development Editor button
  • Unreal Editor started
  • Modify code and Ctrl+Shift+B to rebuild
  • Editor hot reloaded without restarting the editor (Important)

However, when I got new environment setup. It does not allow me to rebuild when the editor is running, showing a WaitMutex error and Rerun button in Rider respond me “[Project] is not allowed to run in parallel”

Now I have to close the editor for new changes to code. I know I can start the editor first to avoid this issue, but I prefer the way to start the editor from IDE to get logs and others.

Does anyone know how to solve this? Thank you

If I recall correctly, this is not supported by design and you would need to use Live Coding instead.

After hours I finally got it working. No idea how but I suggest many different settings for you guys to try

  • Turn on Build option for UE5 in Development Editor configuration in Rider (Making Build of both UE5 and [ProjectName] checked)
  • In Toolset and Build settings, change two processes in parallel to auto
  • Set .Net cli executable path to C:\Program Files\donet\donet.exe instead of the one the engine provided (You have to manually install donet sdk)
  • Make sure Live Coding in Editor is disabled
2 Likes

Thanks @yCoffee , it works like a charm!