When trying to build a plug-in module for the editor:
[SPOILER]
2>Parsing headers for %EditorPluginModuleName%
2>UnrealBuildTool : error : Unhandled exception: System.IO.FileNotFoundException: ���� ‘C:\EpicGames\UE_4.25\Engine\Binaries\Win64\UnrealHeaderTool.target’ �� ������.
2> ��� 䠩��: ‘C:\EpicGames\UE_4.25\Engine\Binaries\Win64\UnrealHeaderTool.target’
2> � System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
2> � System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
2> � System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
2> � System.IO.StreamReader…ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
2> � System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
2> � Tools.DotNETCommon.JsonObject.Read(FileReference File) � D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\DotNETCommon\DotNETUtilities\JsonObject.cs:��ப� 50
2> � UnrealBuildTool.TargetReceipt.Read(FileReference Location, DirectoryReference EngineDir) � D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\TargetReceipt.cs:��ப� 524
2> � UnrealBuildTool.ExternalExecution.ExecuteHeaderToolIfNecessary(BuildConfiguration BuildConfiguration, FileReference ProjectFile, String TargetName, TargetType TargetType, Boolean bHasProjectScriptPlugin, List1 UObjectModules, FileReference ModuleInfoFileName, Boolean bIsGatheringBuild, Boolean bIsAssemblingBuild, ISourceFileWorkingSet WorkingSet) � D:\Build\++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\ExternalExecution.cs:��ப� 1145 2> � UnrealBuildTool.UEBuildTarget.Build(BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, Boolean bIsAssemblingBuild, FileReference SingleFileToCompile) � D:\Build\++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:��ப� 1692 2> � UnrealBuildTool.BuildMode.CreateMakefile(BuildConfiguration BuildConfiguration, TargetDescriptor TargetDescriptor, ISourceFileWorkingSet WorkingSet) � D:\Build\++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:��ப� 504 2> � UnrealBuildTool.BuildMode.Build(List
1 TargetDescriptors, BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, BuildOptions Options, FileReference WriteOutdatedActionsFile) � D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:��ப� 247
2> � UnrealBuildTool.BuildMode.Execute(CommandLineArguments Arguments) � D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:��ப� 219
2> � UnrealBuildTool.UnrealBuildTool.Main(String] ArgumentsArray) � D:\Build++UE4+Licensee\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:��ப� 550
and after this attempt to build, the launcher offers to Repair the engine files
https://i.imgur.com/6wZAlCS.png
[/SPOILER]
how to fix it?