so I have promoted a TArray of UStructs to a TWeakPtr through TSharedPtr which seems to be working fine in game, but as soon as I hit escape in PIE I get the following Crash Report. As I’ve tested the pointer to be working in the game itself, so I don’t know where the segfault is coming from, and the crash report seems to be pointing at the engine and not any of my classes.
SEGV_MAPERR at 0xfffffffd48737ca0
UClass::FindFunctionByName(FName, EIncludeSuperFlag::Type) const Address = 0x1095e62d7 (filename not found) [in UE4Editor-CoreUObject.dylib]
UClass::FindFunctionByName(FName, EIncludeSuperFlag::Type) const Address = 0x1095e64c5 (filename not found) [in UE4Editor-CoreUObject.dylib]
UClass::FindFunctionByName(FName, EIncludeSuperFlag::Type) const Address = 0x1095e6483 (filename not found) [in UE4Editor-CoreUObject.dylib]
UClass::FindFunctionByName(FName, EIncludeSuperFlag::Type) const Address = 0x1095e64c5 (filename not found) [in UE4Editor-CoreUObject.dylib]
UClass::FindFunctionByName(FName, EIncludeSuperFlag::Type) const Address = 0x1095e64c5 (filename not found) [in UE4Editor-CoreUObject.dylib]
UObject::FindFunctionChecked(FName) const Address = 0x10986a130 (filename not found) [in UE4Editor-CoreUObject.dylib]
UActorComponent::ReceiveEndPlay(EEndPlayReason::Type) Address = 0x10b744b2e (filename not found) [in UE4Editor-Engine.dylib]
UActorComponent::EndPlay(EEndPlayReason::Type) Address = 0x10a33158f (filename not found) [in UE4Editor-Engine.dylib]
AActor::EndPlay(EEndPlayReason::Type) Address = 0x109d927d5 (filename not found) [in UE4Editor-Engine.dylib]
AActor::Destroyed() Address = 0x109d9395d (filename not found) [in UE4Editor-Engine.dylib]
UWorld::DestroyActor(AActor*, bool, bool) Address = 0x10a9c3035 (filename not found) [in UE4Editor-Engine.dylib]
AActor::Destroy(bool, bool) Address = 0x109d85297 (filename not found) [in UE4Editor-Engine.dylib]
APlayerCameraManager::EndPlay(EEndPlayReason::Type) Address = 0x10afa874a (filename not found) [in UE4Editor-Engine.dylib]
AActor::Destroyed() Address = 0x109d9395d (filename not found) [in UE4Editor-Engine.dylib]
UWorld::DestroyActor(AActor*, bool, bool) Address = 0x10a9c3035 (filename not found) [in UE4Editor-Engine.dylib]
AActor::Destroy(bool, bool) Address = 0x109d85297 (filename not found) [in UE4Editor-Engine.dylib]
APlayerController::Destroyed() Address = 0x10afb85fb (filename not found) [in UE4Editor-Engine.dylib]
UWorld::DestroyActor(AActor*, bool, bool) Address = 0x10a9c3035 (filename not found) [in UE4Editor-Engine.dylib]
AActor::Destroy(bool, bool) Address = 0x109d85297 (filename not found) [in UE4Editor-Engine.dylib]
UGameInstance::RemoveLocalPlayer(ULocalPlayer*) Address = 0x10a77fee3 (filename not found) [in UE4Editor-Engine.dylib]
UGameInstance::CleanupGameViewport() Address = 0x10a785403 (filename not found) [in UE4Editor-Engine.dylib]
UEngine::CleanupGameViewport() Address = 0x10b54f3dc (filename not found) [in UE4Editor-Engine.dylib]
UEditorEngine::EndPlayMap() Address = 0x11072699b (filename not found) [in UE4Editor-UnrealEd.dylib]
UEditorEngine::Tick(float, bool) Address = 0x10fefb3c5 (filename not found) [in UE4Editor-UnrealEd.dylib]
UUnrealEdEngine::Tick(float, bool) Address = 0x110b82acc (filename not found) [in UE4Editor-UnrealEd.dylib]
FEngineLoop::Tick() Address = 0x1087a5fc5 (filename not found) [in UE4Editor]
GuardedMain(wchar_t const*) Address = 0x1087af7a2 (filename not found) [in UE4Editor]
-[UE4AppDelegate runGameThread:] Address = 0x1087bce40 (filename not found) [in UE4Editor]
-[FCocoaGameThread main] Address = 0x108a59d17 (filename not found) [in UE4Editor-Core.dylib]
Unknown() Address = 0x7fff56d91ee8 (filename not found) [in Foundation]
_pthread_body Address = 0x7fff7c8586c1 (filename not found) [in libsystem_pthread.dylib]
_pthread_body Address = 0x7fff7c85856d (filename not found) [in libsystem_pthread.dylib]
thread_start Address = 0x7fff7c857c5d (filename not found) [in libsystem_pthread.dylib]