I have a terrible problem, I can’t create new C++ classes, the new class files are automatically loaded into Visual studio (2020), but I receive a Live Coding error.
I didn’t make any configuration changes in the Engine or in Visual studio, before this happened I was trying to delete a class (WhiteCube) that I had created, I tried to delete it both through the engine and manually using the file explorer.
First I did an integrity check, nothing changed, so I decided to delete the engine and download it again, I created a new project and tried to make a class (WhiteCube) and I keep getting the same problem.
written error:
Registered restarted process D:\EPIC\Unreal\UE_5.1\Engine\Binaries\Win64\UnrealEditor.exe (PID: 15820, previous PID: 14316)
Loading module D:\UNREAL PROJECT\MyProject2\Binaries\Win64\UnrealEditor-MyProject2.dll (0.085 MB)
Loaded 1 module(s) (0.000s, 5 translation units)
Live coding ready - Save changes and press Ctrl+Alt+F11 to re-compile code
Manual recompile triggered
---------- Creating patch ----------
Running D:\EPIC\Unreal\UE_5.1\Engine\Build\BatchFiles\Build.bat -Target=“MyProject2Editor Win64 Development -Project=”“D:/UNREAL PROJECT/MyProject2/MyProject2.uproject”“” -LiveCoding -LiveCodingModules=“D:/EPIC/Unreal/UE_5.1/Engine/Intermediate/LiveCodingModules.txt” -LiveCodingManifest=“D:/EPIC/Unreal/UE_5.1/Engine/Intermediate/LiveCoding.json” -WaitMutex -LiveCodingLimit=100
Quick restart disabled when re-instancing is enabled.
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” -Target=“MyProject2Editor Win64 Development -Project=”“D:/UNREAL PROJECT/MyProject2/MyProject2.uproject”“” -LiveCoding -LiveCodingModules=“D:/EPIC/Unreal/UE_5.1/Engine/Intermediate/LiveCodingModules.txt” -LiveCodingManifest=“D:/EPIC/Unreal/UE_5.1/Engine/Intermediate/LiveCoding.json” -WaitMutex -LiveCodingLimit=100
Log file: C:\Users\xxx\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for MyProject2Editor (no existing makefile)
Parsing headers for MyProject2Editor
Running Internal UnrealHeaderTool “D:\UNREAL PROJECT\MyProject2\MyProject2.uproject” “D:\UNREAL PROJECT\MyProject2\Intermediate\Build\Win64\MyProject2Editor\Development\MyProject2Editor.uhtmanifest” -WarningsAsErrors -installed
Total of 3 written
Reflection code generated for MyProject2Editor in 6.5681009 seconds
Building MyProject2Editor…
Using Visual Studio 2019 14.29.30152 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Determining max actions to execute in parallel (12 physical cores, 16 logical cores)
Executing up to 12 processes, one per physical core
Requested 1.5 GB free memory per action, 1023.98 MB available: limiting max parallel actions to 1
Building 6 actions with 1 process…
[1/6] Compile MyProject2GameModeBase.cpp
[2/6] Compile MyProject2.cpp
[3/6] Compile WhiteCube.gen.cpp
[4/6] Compile MyProject2GameModeBase.gen.cpp
[5/6] Compile WhiteCube.cpp
D:\UNREAL PROJECT\MyProject2\Source\MyProject2\Character\WhiteCube.cpp(4): fatal error C1083: Cannot open include file: ‘Character/WhiteCube.h’: No such file or directory
[6/6] Compile MyProject2.init.gen.cpp