UE4Editor.exe has triggered a breakpoint

Hey all so I have run into a bit of an issue with unreal and visual studio as when I float the DefaultPawn over the trigger instead of opening the doors the unreal editor just crashes. As far as I can tell everything is set properly, the doors target the TriggerVolume properly. When I flipped on the debug mode I got error picture above. Actually I’ve gotten a few different errors. It used to highlight with the red circle and the X the GetOwner() part of the code. I thought it might have been because I had not put '#include “Components/ActorComponent.h”` which i traced from defining GetOwner() but the game still crashes and the error still happens.

As I’m at my wits end I was wondering if anyone else had this issue? I’m happy to provide any additional details as needed and thanks for the help!


Please show us the whole code (source and header files) for the UOpenDoor class.

Privacy & Terms