My Project crashes on startup

So I’ve been doing a course on unreal and all of a sudden every time i try to open it it crashes on startup.[link text][1]

The reason it crashes is your class UPositionReport. I suppose that probably you are trying to access something which either is non-existant or that is defined as private or protected. Could you provide us with some code of your class UPositionReport?

I added the code for it.

You forgot to include your module’s Header file in the PositionReport source file.

In your case it would be something like this (I don’t know if your project name is written with upper or lower cases):

#include "BuildingEscape.h"
#include "PositionReport.h"

Added in the #include “BuildingEscape.h”
Still crashes

try call UActorComponent’s Constructor

【.h】

//UPositionReport();
UPositionReport(const FObjectInitializer& ObjectInitializer);

【.cpp】

//UPositionReport()::UPositionReport()
UPositionReport::UPositionReport(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
	//	todo
}