It happens when I recompile code inside editor. Nothing fancy here is code:
Header:
#include "TPPPlayerController.generated.h"
UCLASS(config=Game)
class ATPPPlayerController : public APlayerController
{
GENERATED_UCLASS_BODY()
};
CPP:
#include "TPPGame.h"
ATPPPlayerController::ATPPPlayerController(const FPostConstructInitializeProperties& PCIP)
: Super(PCIP)
{
//PlayerCameraClass = ATPPPlayerCamera::StaticClass();
}
I haven’t initialized it in GameInfo constructor, as far as I know it shouldn’t have any effect on anything because is not used anywhere, or I’m wrong here ?
Striped down project is in attachment(there is all code, I revmoed all content and compiled binaries to reduce size) I have used TPP template to create it.
Also there is log from output in VS while rebuilding project:
1>------ Rebuild All started: Project: TPPGame, Configuration: Debug x64 ------
1> Cleaning Rocket project.
1>
1> Unhandled Exception: System.IO.IOException: The directory is not empty.
1>
1> at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
1> at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
1> at Clean.Program.CleanRocketFiles(String GameName, String PlatformName, String ConfigName)
1> at Clean.Program.Main(String[] Arguments)
1> Generating code for TPPGame
1> Module.TPPGame.cpp
1> link.exe RocketEditor-TPPGame-Win64-Debug.dll
1> Creating library E:\Unreal\TPPGame\Intermediate\BuildData\TPPGame\Win64\DebugGame\RocketEditor-TPPGame-Win64-Debug.lib and object E:\Unreal\TPPGame\Intermediate\BuildData\TPPGame\Win64\DebugGame\RocketEditor-TPPGame-Win64-Debug.exp
1> -------- End Detailed Actions Stats -----------------------------------------------------------
1> Copying Rocket build tools...
1> Cumulative action seconds (4 processors): 0,00 building projects, 12,03 compiling, 0,00 creating app bundles, 0,00 generating debug info, 0,33 linking, 0,00 other
1> UBT execution time: 16,88 seconds
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
Not sure if that have anything to do with it but this Exception looks suspicious.
link text