Unreal Engine error with Live Coding: unexpected executable in compile action

Hi, I’m taking the Unreal 5.0 course and I am having an error during live coding after updating Unreal Engine.
The error look like this:

Module D:\Unreal Projects\Crypt Raider\CryptRaider\Binaries\Win64\UnrealEditor-CryptRaider-7870.dll is not currently enabled for Live Coding
ERROR: Unable to patch action graph - unexpected executable in compile action (C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\rc.exe)

I suggest you close Unreal and use the Rebuild task from VS Code

Ctrl + Shift + B > ProjectNameEditor Platform Development Rebuild.

Where ProjectName is the name of your project and Platform is the platform you’re targeting e.g. Win64

ctrl+f9 in Rider (for those of you who are like me and went rogue). After that Live Coding works as expected again.

I tried your solution.

But UE is now giving me the following error:

Live Coding cannot be enabled while hot-reloaded modules are active. Please close the editor and build from your IDE before restarting.

By deactivating Live Coding it is able to compile.
I have tryed some more variants of rebuilding like rebuild while livecoding deactivated / activated but didn’t help so far.

Hope it works again with the next project unless there are any other solutions :smiley:

Close Live Coding Window and make sure no instance of unreal is running then build your solution Using Ctrl + Shift + B (vs code)

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.