Rebuild UnrealBuildTool folder (C4800 error - edited VCToolChain.cs)
Hello everyone.
I encountered an issue where the editor will prompt a C4800 error. Related Unreal Engine forums post. Searching around, I found this solution (video in German, subtitles in English).
The issue I'm having is that I cannot seem to compile the UnrealBuildTool folder, as stated in the video. I even tried opening my project in Visual Studio, building the folder and then back to rider, but it apparently did not work.
How can I build it?
It may be the case that simply by saving, rider is building it and I just have no idea. If that is the case, given that the issue persists, does anyone know what the solution to this issue is?
For context, the issue stems from the usage of timers, such as in:
GetWorld()->GetTimerManager().SetTimer(TimerHandle, this, &APirate::EnableSprinting, TimerDelay, this);
Please sign in to leave a comment.
Hello Angel 1515,
You can rebuild just UnrealBuildTool by opening %Path_to_UE%\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.sln in Rider and building a solution after making necessary changes to VCToolChain.
Note that if you want to suppress C4800 only in a few places, you might prefer disabling the warning with pragma instead instead of modifying UBT.
Let me know if it helps