Hello all!
We are updating our project from 4.16 to 4.19, and are encountering an error when we try to build or clean the solution.
This error occurs when Cleaning:
1>------ Clean started: Project: ProjectName, Configuration: Development_Editor x64 ------
1> Cleaning ProjectNameEditor Binaries...
1>UnrealBuildTool : error : Unable to clean target while hot-reloading. Close the editor and try again.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(36,5): error MSB3073: The command ""C:\Program Files\Epic Games\UE_4.19\Engine\Build\BatchFiles\Clean.bat" ProjectNameEditor Win64 Development "E:\repo\ProjectName\ProjectName.uproject" -WaitMutex -FromMsBuild" exited with code -1.
========== Clean: 0 succeeded, 1 failed, 0 skipped ==========
And this one comes up when we try to build:
1>------ Build started: Project: ProjectName, Configuration: Development_Editor x64 ------
1> Creating makefile for hot reloading ProjectNameEditor (no existing makefile)
1> Compiling game modules for hot reload
1> Performing full C++ include scan (no include cache file)
1> Parsing headers for ProjectNameEditor
1> Running UnrealHeaderTool "E:\repo\ProjectName\ProjectName.uproject" "E:\repo\ProjectName\Intermediate\Build\Win64\ProjectNameEditor\Development\ProjectNameEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
1>E:/repo/ProjectName/Source/ProjectName/ProjectNamePawn.h(41): error : Unrecognized type 'UDestructibleComponent' - type must be a UCLASS, USTRUCT or UENUM
1>EXEC : error : UnrealHeaderTool failed for target 'ProjectNameEditor' (platform: Win64, module info: E:\repo\ProjectName\Intermediate\Build\Win64\ProjectNameEditor\Development\ProjectNameEditor.uhtmanifest, exit code: OtherCompilationError (5)).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: The command ""C:\Program Files\Epic Games\UE_4.19\Engine\Build\BatchFiles\Build.bat" ProjectNameEditor Win64 Development "E:\repo\ProjectName\ProjectName.uproject" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Any ideas?