Instant Crashes? Solution

If your game crashes as soon as you hit play, you might have the problem I created. Trying to get a this lesson working, I think I deleted the door or opendoor.h component and then it started crashing immediately on play. If you don’t have the triggervolume linked to the door under opendoor.h it causes this error.

You need to set the TriggerVolume in the editor because you are calling code on it’s members. If the TriggerVolume is nullptr then you will get undefined behavior so an exception is thrown and Unreal crashes.

Yes, thanks. I just wanted to warn anyone else who had this problem. Lecture 88 actually covers this exact error.

Privacy & Terms