Thats the content of the file:
// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
public class CarCarCar : ModuleRules
{
public CarCarCar(TargetInfo Target)
{
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" });
PrivateDependencyModuleNames.AddRange(new string[] { });
// Uncomment if you are using Slate UI
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
// Uncomment if you are using online features
// PrivateDependencyModuleNames.Add("OnlineSubsystem");
// if ((Target.Platform == UnrealTargetPlatform.Win32) || (Target.Platform == UnrealTargetPlatform.Win64))
// {
// if (UEBuildConfiguration.bCompileSteamOSS == true)
// {
// DynamicallyLoadedModuleNames.Add("OnlineSubsystemSteam");
// }
// }
}
}
I was off. You need to add SlateCore to the module names.
Change that part:
// Uncomment if you are using Slate UI
PrivateDependencyModuleNames.AddRange(new string[] { "SlateCore" });
The reason is this: FKeyEvent is defined in the SlateCore module.
If you encounter this error or a smiliar one in the future look out for the symbol name in the error message “Z_Construct_UScriptStruct_FKeyEvent” and find out where it is defined. Most of the times the module name is Engine/Source/Runtime/ModuleName or Engine/Source/Editor/ModuleName