hi Dan
Recently i have been experiencing slower compile times when i make a change to code in 4.25.
there was a similar issue with 4.22 which was caused by unnecessary reflection calcs and was resolved by opening UEEditorHeaderTool.target file and making a small space change and savingā¦
but 4.25 is not giving an error like that.
Normally it compiles under 2 seconds but when i just a comment line //
then the compile time goes to 69 seconds way way to high
here is my output from message log
Using āgit statusā to determine working set for adaptive non-unity build (C:\Developer\unreal_class\BullCowGame-starter-kit).
Building BullCowGameEditorā¦
Using Visual Studio 2019 14.26.28806 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
[Upgrade]
[Upgrade] Using backward-compatible build settings. The latest version of UE4 sets the following values by default, which may require code changes:
[Upgrade] bLegacyPublicIncludePaths = false => Omits subfolders from public include paths to reduce compiler command line length. (Previously: true).
[Upgrade] ShadowVariableWarningLevel = WarningLevel.Error => Treats shadowed variable warnings as errors. (Previously: WarningLevel.Warning).
[Upgrade] PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs => Set in build.cs files to enables IWYU-style PCH model. See https://docs.unrealengine.com/en-US/Programming/BuildTools/UnrealBuildTool/IWYU/index.html. (Previously: PCHUsageMode.UseSharedPCHs).
[Upgrade] Suppress this message by setting āDefaultBuildSettings = BuildSettingsVersion.V2;ā in BullCowGameEditor.Target.cs, and explicitly overriding settings that differ from the new defaults.
[Upgrade]
Distributing 4 actions to XGE
--------------------Build System Warning---------------------------------------
Temporary license has expired:
Your Agentās temporary license has expired. IncrediBuild will allow you to utilize up to 16 cores on your local machine.
To unleash IncrediBuildās capabilities to utilize idle cores in your network in order to achieve increased performance, please contact sales@incredibuild.com
--------------------Project: Default-------------------------------------------
BullCowCartridge.cpp (1:02.87 at +0:00)
UE4Editor-BullCowGame-0399.lib (0:00.11 at +1:02)
Creating library C:\Developer\unreal_class\BullCowGame-starter-kit\Intermediate\Build\Win64\UE4Editor\Development\BullCowGame\UE4Editor-BullCowGame-0399.lib and object C:\Developer\unreal_class\BullCowGame-starter-kit\Intermediate\Build\Win64\UE4Editor\Development\BullCowGame\UE4Editor-BullCowGame-0399.exp
UE4Editor-BullCowGame-0399.dll (0:00.61 at +1:02)
Creating library C:\Developer\unreal_class\BullCowGame-starter-kit\Intermediate\Build\Win64\UE4Editor\Development\BullCowGame\UE4Editor-BullCowGame-0399.suppressed.lib and object C:\Developer\unreal_class\BullCowGame-starter-kit\Intermediate\Build\Win64\UE4Editor\Development\BullCowGame\UE4Editor-BullCowGame-0399.suppressed.exp
BullCowGameEditor.target (0:00.17 at +1:03)
---------------------- Done ----------------------
Rebuild All: 1 succeeded, 0 failed, 0 skipped
1 build system warning(s):
- Temporary license has expired
Total time in XGE executor: 63.97 seconds
Total execution time: 64.69 seconds