Unreal engine version: 4.22
- In your code editor go to the file Explorer tab and navigate to
/UE_4.22/Engine/Binaries/<depending on your system name may be different>Win64/UnrealHeaderTool.target
- Open UnrealHeaderTool.target
- Add a white space somewhere so you can save the file as if a change took place.
- Compile in Unreal Engine. *The first compile after this fix may take awhile but subsequent compiles should be much shorter.