I get this error below:
Failed to add class AI_Controller. Failed to automatically hot reload the ‘CplusplusAI’ module.
Why am I getting this error, the file appears in the folder in my documents, but it does not appear in the c++ folder in Unreal 4.7 editor. Is this just a bug or something else?
I aasked you to paste header file, .h it the one that actully decler the class, also i asked if you get this error if you biuld it without hot reload (when editor is closed)
ah, one sec, I thought that was the .h file…
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/Character.h"
#include "AICharacter.generated.h"
UCLASS()
class CPLUSPLUSAI_API AAICharacter : public ACharacter
{
GENERATED_BODY()
public:
// Sets default values for this character's properties
AAICharacter();
// Called when the game starts or when spawned
virtual void BeginPlay() override;
// Called every frame
virtual void Tick( float DeltaSeconds ) override;
// Called to bind functionality to input
virtual void SetupPlayerInputComponent(class UInputComponent* InputComponent) override;
};
my bad I had the wrong tab highlighted. so I sent the wrong code…this is the .h file I just posted.