Error code: 1073741571

If I add my gamemode class to the .h includes of one of my actor classes, I get this error. What does it mean and why can’t I include the gamemode class?

That sounds like the UHT is crashing due to a cyclic dependency - you’ll have to track it down yourself, or install this patch (if building from source) and it will tell you where the cycle is.

https://github.com/EpicGames/UnrealEngine/commit/91c7acd3a8d6b5f30816472e60a66ede51e3ee55

Yeah, it definitely is. My gamemode includes the actor.h and I was trying to make the actor include the gamemode.h. Thanks for the reply.