Couple things, first, I’m having absurdly bad compile times in 4.7 a full minute for each build, no matter how small the change, it sits on Build Started for almost 30 seconds before it starts building, then takes about a minute to finish compiling. Secondly, if I start the compilation in Visual Studio, despite the fact that the output window says “Compiling game modules for hot reload” no hot reload actually takes place at the end of the compilation (once again that takes a minute and bit). If I start the compilation in the editor then I get the log information, it then tell tells me that Starting HotReload takes 40 seconds and at the end of the Compilation I get an error:
LogModuleManager:Warning: ModuleManager: Unable to load module ‘TurnBasedStrategy’ because the file ‘C:/(Removed)/Unreal Projects/TurnBasedStrategy/Binaries/Win64/UE4Editor-TurnBasedStrategy-7918-Win64-Debug.dll’ was not found.
Warning: HotReload failed, reload failed /Script/TurnBasedStrategy.
The compile appears to take around 50 seconds.
Steps:
- Created new “Blank Code Project”
- Compiled the new project
- Opened the editor, derived a class from AActor
- Wrote some code and stuff for that new class
- Closed the editor, compiled.
- Opened the editor
- Changes are fine
- Edit code.
- Try to hot-reload
- Hot-reload fails.
Also why in 4.7 when I open a blueprint do I get a “Data only blueprint” which requires me to then click a text link to open the Full Blueprint Editor.
Another also, when Visual Studio Updates IntelliSense and browsing information it crashes visual studio, could that be why my compiles are so slow? I disabled intellisense to stop those crashes.
I just tried to compile a project that has absolutely no changes in it, it took the compiler 53 seconds from pressing compile to figure out that nothing had changed, the following is the output log information I got:
1>------ Build started: Project: TurnBasedStrategy, Configuration: Debug_Editor x64 ------
1> Target is up to date.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========