diff --git a/Source/FactoryGame/Private/FGDropPod.cpp b/Source/FactoryGame/Private/FGDropPod.cpp index dabc698acb..37fe2eccd9 100644 --- a/Source/FactoryGame/Private/FGDropPod.cpp +++ b/Source/FactoryGame/Private/FGDropPod.cpp @@ -55,7 +55,7 @@ void AFGDropPod::PreSave(FObjectPreSaveContext SaveContext) // Cache scannable data from the world during the cooking process // Avoid attempting to cache the data on the CDOs and Archetypes, and objects without a world context if (SaveContext.IsCooking() && !HasAnyFlags(RF_ClassDefaultObject | RF_ArchetypeObject) && GetWorld() != nullptr) { - mDropPodGuid = GetActorInstanceGuid(); + mDropPodGuid = GetActorGuid(); } #endif } diff --git a/Source/FactoryGame/Private/FGItemPickup.cpp b/Source/FactoryGame/Private/FGItemPickup.cpp index 2002aec759..ad1d2c868f 100644 --- a/Source/FactoryGame/Private/FGItemPickup.cpp +++ b/Source/FactoryGame/Private/FGItemPickup.cpp @@ -37,7 +37,7 @@ void AFGItemPickup::PreSave(FObjectPreSaveContext SaveContext) // Cache scannable data from the world during the cooking process // Avoid attempting to cache the data on the CDOs and Archetypes, and objects without a world context if (SaveContext.IsCooking() && !HasAnyFlags(RF_ClassDefaultObject | RF_ArchetypeObject) && GetWorld() != nullptr) { - mItemPickupGuid = GetActorInstanceGuid(); + mItemPickupGuid = GetActorGuid(); } #endif }