Dereferencing null on client for creation of attached actor

hit a problem with Epic\Engine\Source\Runtime\Engine\Private\PackageMapClient.cpp ShouldIgnoreWhenMissing method where i am attaching an actor to a UPoseableMeshComponent during construction.
(usage case, spawning a vehicle with another actor already inside)

on server,
Actor1 (SpawnActorDeferred … FinishSpawningActor)
Actor2 (SpawnActorDeferred … FinishSpawningActor)
Actor2->AttachRootComponentTo(Actor1->MyPoseableMeshComponent, TEXT(“Socket”), EAttachLocation::SnapToTargetIncludingScale, true);
then on client getting a crash in ShouldIgnoreWhenMissing when looking for the outer of the MyPoseableMeshComponent, OutermostCacheObject ending up null (outer guid is valid, but the object is not)

fix
change line 1938 from
while ( OutermostCacheObject->OuterGUID.IsValid() )
to
while (OutermostCacheObject && OutermostCacheObject->OuterGUID.IsValid() )