Cannot get Live Coding to work on UE5

On UE5 Early Access (not preview), I cannot get Live Coding to work.

I enabled Live Coding and when I press Alt + Ctrl + F11, the compile starts but always fails due to “.dll is not currently enabled for Live Coding”

I have Live Coding enabled in the editor preferences. See the image. I tried enabling the other checkboxes for “Preload Engine Modules” and “Preload Engine Plugin Modules” with no success

I tried clean / rebuild of Unreal Engine 5 by itself. And then with my project solution. No change. Obviously rebooted the editor, tried enabling it on and off, no changes.

---------- Creating patch ----------
Running D:\\myproject-ue5\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe -Target="myprojectEditor Win64 Development -Project=""D:/myproject-ue5/myproject/myproject.uproject""" -LiveCoding -LiveCodingModules="D:/myproject-ue5/Engine/Intermediate/LiveCodingModules.txt" -LiveCodingManifest="D:/myproject-ue5/Engine/Intermediate/LiveCoding.json" -WaitMutex -LiveCodingLimit=100
Quick restart disabled when re-instancing is enabled.
  Log file: D:\\myproject-ue5\Engine\Programs\UnrealBuildTool\Log.txt
  Creating makefile for myprojectEditor (UnrealBuildTool assembly is newer)
  Creating makefile for UnrealHeaderTool (UnrealBuildTool assembly is newer)
  Parsing headers for myprojectEditor
    Running UnrealHeaderTool "D:\\myproject-ue5\myproject\myproject.uproject" "D:\\myproject-ue5\myproject\Intermediate\Build\Win64\myprojectEditor\Development\myprojectEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="D:\\myproject-ue5\Engine\Programs\UnrealBuildTool\Log_UHT.txt"
  Reflection code generated for myprojectEditor in 9.5667807 seconds
  Module D:\\myproject-ue5\Engine\Binaries\Win64\UnrealEditor-Core.dll is not currently enabled for Live Coding
  Module D:\\myproject-ue5\Engine\Binaries\Win64\UnrealEditor-BuildSettings.dll is not currently enabled for Live Coding
Loading module D:\depot\myproject-ue5\Engine\Binaries\Win64\UnrealEditor-Core.dll (16.743 MB)
Running D:\\myproject-ue5\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe -Target="myprojectEditor Win64 Development -Project=""D:/myproject-ue5/myproject/myproject.uproject""" -LiveCoding -LiveCodingModules="D:/myproject-ue5/Engine/Intermediate/LiveCodingModules.txt" -LiveCodingManifest="D:/myproject-ue5/Engine/Intermediate/LiveCoding.json" -WaitMutex
  Log file: D:\\myproject-ue5\Engine\Programs\UnrealBuildTool\Log.txt
  Module D:\\myproject-ue5\Engine\Binaries\Win64\UnrealEditor-BuildSettings.dll is not currently enabled for Live Coding

Hey there
I had the same pronblem.
i Couldnt find a proper solution to it. However, this workaround worked for me:
Set startup for live coding in editors preferences to manual and set it as default.
1.Open project in VS studio
2. Make changes to your code and save all
3. use live coding to compile.
i hope this works for you too.

6 Likes

These instructions helped me :+1:

Hi, now I’m in UE 5.0.3
I had the same problem.

  1. If you had be running both editor UE5 and VisualStudio. shut down UE5.
  2. “Build Startup Project” on VS. check output log is successfull.
  3. press “ctrl + Alt + F11” for Live coding.
    my problem is completed by this step.
    Once this procedure was done the first time, it was not necessary to do it the second and subsequent times.
4 Likes

Did you manage to solve this?

Thanks for the tip :+1:

hey i alredy tried that it works but when I want to compile my code again the build failed so can anyone help?

You should compile the solution from the editor, not Visual Studio.