ATriggerVolume Error (UE4 16.3)

It is such an easy fix and has taken me quite a long time to figure out. Many on the internet say ADD this line to from:
#include “CoreMinimal.h”
#include “Components/ActorComponent.h”
#include “OpenDoor.generated.h”
to
#include “CoreMinimal.h”
#include “Components/ActorComponent.h”
#include “Engine/TriggerVolume.h”
#include “OpenDoor.generated.h”

But what you actually have to do is REPLACE a line to go from:
#include “CoreMinimal.h”
#include “Components/ActorComponent.h”
#include “OpenDoor.generated.h”
to
#include “Engine.h”
#include “Components/ActorComponent.h”
#include “OpenDoor.generated.h”

Hope this helps you guys!

1 Like

Privacy & Terms