UE4 crushed after I implemented a method with an empty pointer

I have to MacBooks so I had a chance to to the exact same thing on both of them and detect the event causing the crush clearly

I was trying to open the door with a TriggerVolume

this is what I have concerning this in the .h file

    float OpenAngle = 90.f;
    ATriggerVolume* PressurePlate;
    AActor* ActorThatOpens;

and this is in the .cpp

if (PressurePlate->IsOverlappingActor(ActorThatOpens))

the ActorThatOpens wasn’t set before build both times I’ve done it and both times everything crushed and I can’t open the project afterwords

this is the crush report:


Caught signal

AActor::SetActorRotation(FRotator, ETeleportType) Address = 0x1082f7fe1 (filename not found) [in UE4Editor-Engine.dylib]
UOpenDoor::UOpenDoor() Address = 0x17316504b [/Users/Nastya/Desktop/Escape_the_room/Source/Escape_the_room/OpenDoor.cpp, line 17] [in UE4Editor-Escape_the_room.dylib]
UClass::CreateDefaultObject() Address = 0x10786156a (filename not found) [in UE4Editor-CoreUObject.dylib]
ProcessNewlyLoadedUObjects(FName, bool) Address = 0x107ad32a6 (filename not found) [in UE4Editor-CoreUObject.dylib]
TBaseStaticDelegateInstance<void (FName, bool)>::ExecuteIfSafe(FName, bool) const Address = 0x107a0e751 (filename not found) [in UE4Editor-CoreUObject.dylib]
TBaseMulticastDelegate<void, FName, bool>::Broadcast(FName, bool) const Address = 0x1067c73ba (filename not found) [in UE4Editor-Core.dylib]
FModuleManager::LoadModuleWithFailureReason(FName, EModuleLoadResult&) Address = 0x1067c5e3b (filename not found) [in UE4Editor-Core.dylib]
FModuleDescriptor::LoadModulesForPhase(ELoadingPhase::Type, TArray<FModuleDescriptor, TSizedDefaultAllocator<32> > const&, TMap<FName, EModuleLoadResult, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<FName, EModuleLoadResult, false> >&) Address = 0x10e83fd1b (filename not found) [in UE4Editor-Projects.dylib]
FProjectManager::LoadModulesForProject(ELoadingPhase::Type) Address = 0x10e860cf7 (filename not found) [in UE4Editor-Projects.dylib]
FEngineLoop::LoadStartupModules() Address = 0x1060f8b19 (filename not found) [in UE4Editor]
FEngineLoop::PreInitPostStartupScreen(char16_t const*) Address = 0x1060f3d78 (filename not found) [in UE4Editor]
GuardedMain(char16_t const*) Address = 0x1060e1461 (filename not found) [in UE4Editor]
-[UE4AppDelegate runGameThread:] Address = 0x1060fdfcf (filename not found) [in UE4Editor]
-[FCocoaGameThread main] Address = 0x106652331 (filename not found) [in UE4Editor-Core.dylib]
Unknown() Address = 0x7fff3177a7a2 (filename not found) [in Foundation]
_pthread_start Address = 0x7fff691bf109 (filename not found) [in libsystem_pthread.dylib]
thread_start Address = 0x7fff691bab8b (filename not found) [in libsystem_pthread.dylib]