Rebuilt the engine, fully rebuilt the project. Same error. The lines are indicating seemingly that I can not inherit from a AActor class, but this is not true, and it worked before.
That is the funny thing. I have added the two lines into Build.cs, which supposedly increase compilation time.
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class Wolfdale : ModuleRules
{
public Wolfdale(TargetInfo Target)
{
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" });
///MAY NOT WORK PROPERLY WITH BIG PROJECTS,
///BUT INCREASES COMIPLE TIME
MinFilesUsingPrecompiledHeaderOverride = 1;
bFasterWithoutUnity = true;
}
}
However, I thought that it might me the source of the problem, so what I did is commented those lines. And this did not fix anything! The errors were still showing
Thanks for ur answer. My colleague deleted my files and wrote them from scratch, with the same functionality and without needless includes. And they now work, for some reason. Probably it is connected to those includes. Thanks for ur help