I’m having issues with UE compiling any new C++ class added to a blank project. It errors out when trying to build the editor target file for the first time. Have tried building in the editor as well as VS 2019.
What’s particularly confusing is its referencing a module I know nothing of. The only blueprints in my project are a player controller, game mode, and a couple of UMG widgets. I have tried a fresh project and the same error is being thrown.
Any ideas?
The compiler error being thrown is:
1>------ Build started: Project: UMG, Configuration: Development_Editor x64 ------
2>------ Skipped Build: Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------
2>Project not selected to build for this solution configuration
1>Creating makefile for UMGEditor (no existing makefile)
1>UnrealBuildTool : error : Module 'MovieRenderPipelineCore' (Engine Plugins) should not reference module 'UMG' (Project). Hierarchy is Project -> Engine Programs -> Engine Plugins -> Engine.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(46,5): error MSB3073: The command "chcp 65001 >NUL && "D:\Program Files\Epic Games\UE_4.25\Engine\Build\BatchFiles\Build.bat" UMGEditor Win64 Development -Project="C:\Users\Vincent\Documents\Unreal Projects\UMG\UMG.uproject" -WaitMutex -FromMsBuild" exited with code 6.
1>Done building project "UMG.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========