games crash when loading off external ssd.

when I try to create game off external hard drive it crashes and says

Fatal error: [File:./Runtime/CoreUObject/Private/Misc/PackageName.cpp] [Line: 770] FilenameToLongPackageName failed to convert ‘…/…/…/…/…/…/…/Volumes/my drive/Unreal Projects/MyProject2/Content/ExternalObjects/FirstPerson/Maps/FirstPersonMap/7/ZX/._JUGNISA5MV8V8FE530PDPQ.uasset’. Attempt result was ‘/Game/ExternalObjects/FirstPerson/Maps/FirstPersonMap/7/ZX/._JUGNISA5MV8V8FE530PDPQ’, but the path contains illegal characters ‘.’

FPackageName::FilenameToLongPackageName(FString const&) Address = 0x10fce4a74 (filename not found) [in UnrealEditor-CoreUObject.dylib]
UE::Core::Private::Function::TFunctionRefCaller<GetOnDiskExternalObjectPackages(FString const&)::$_17, bool (char16_t const*, bool)>::Call(void*, char16_t const*&, bool&) Address = 0x11a98bb24 (filename not found) [in UnrealEditor-Engine.dylib]
FDirectoryVisitorFuncWrapper::Visit(char16_t const*, bool) Address = 0x10c7b6116 (filename not found) [in UnrealEditor-Core.dylib]
IPlatformFile::IterateDirectoryRecursively(char16_t const*, IPlatformFile::FDirectoryVisitor&)::FRecurse::Visit(char16_t const*, bool) Address = 0x10c7c415d (filename not found) [in UnrealEditor-Core.dylib]
UE::Core::Private::Function::TFunctionRefCaller<FApplePlatformFile::IterateDirectory(char16_t const*, IPlatformFile::FDirectoryVisitor&)::$_1, bool (dirent*)>::Call(void*, dirent*&) Address = 0x10c6d0d71 (filename not found) [in UnrealEditor-Core.dylib]
FApplePlatformFile::IterateDirectoryCommon(char16_t const*, TFunctionRef<bool (dirent*)> const&) Address = 0x10c6899ea (filename not found) [in UnrealEditor-Core.dylib]
FApplePlatformFile::IterateDirectory(char16_t const*, IPlatformFile::FDirectoryVisitor&) Address = 0x10c6898c6 (filename not found) [in UnrealEditor-Core.dylib]
void ParallelForImpl::CallBody<IPlatformFile::IterateDirectoryRecursively(char16_t const*, IPlatformFile::FDirectoryVisitor&)::$_15, TArray<FString, TSizedDefaultAllocator<32> > >(IPlatformFile::IterateDirectoryRecursively(char16_t const*, IPlatformFile::FDirectoryVisitor&)::$_15 const&, TArrayView<TArray<FString, TSizedDefaultAllocator<32> >, int> const&, int, int) Address = 0x10c7c35e1 (filename not found) [in UnrealEditor-Core.dylib]
IPlatformFile::IterateDirectoryRecursively(char16_t const*, IPlatformFile::FDirectoryVisitor&) Address = 0x10c785ae7 (filename not found) [in UnrealEditor-Core.dylib]
IPlatformFile::IterateDirectoryRecursively(char16_t const*, TFunctionRef<bool (char16_t const*, bool)>) Address = 0x10c7869f4 (filename not found) [in UnrealEditor-Core.dylib]
FFileManagerGeneric::IterateDirectoryRecursively(char16_t const*, TFunctionRef<bool (char16_t const*, bool)>) Address = 0x10c7d63a0 (filename not found) [in UnrealEditor-Core.dylib]
void FExternalPackageHelper::LoadObjectsFromExternalPackages(UObject*, TFunctionRef<void (UActorFolder*)>) Address = 0x11a91daf5 (filename not found) [in UnrealEditor-Engine.dylib]
ULevel::PostLoad() Address = 0x11a91c787 (filename not found) [in UnrealEditor-Engine.dylib]
UObject::ConditionalPostLoad() Address = 0x1100726b5 (filename not found) [in UnrealEditor-CoreUObject.dylib]
UObject::PostLoadSubobjects(FObjectInstancingGraph*) Address = 0x110072c7d (filename not found) [in UnrealEditor-CoreUObject.dylib]
AActor::PostLoadSubobjects(FObjectInstancingGraph*) Address = 0x119a5e62c (filename not found) [in UnrealEditor-Engine.dylib]
UObject::ConditionalPostLoad() Address = 0x110072449 (filename not found) [in UnrealEditor-CoreUObject.dylib]
EndLoad(FUObjectSerializeContext*, TArray<UPackage*, TSizedDefaultAllocator<32> >) Address = 0x1101ed789 (filename not found) [in UnrealEditor-CoreUObject.dylib]
LoadPackageInternal(UPackage
, FPackagePath const&, unsigned int, FLinkerLoad*, FArchive*, FLinkerInstancingContext const*, FPackagePath const*) Address = 0x1101eb61e (filename not found) [in UnrealEditor-CoreUObject.dylib]
LoadPackage(UPackage*, FPackagePath const&, unsigned int, FArchive*, FLinkerInstancingContext const*, FPackagePath const*) Address = 0x1101ef0ad (filename not found) [in UnrealEditor-CoreUObject.dylib]
LoadPackage(UPackage*, char16_t const*, unsigned int, FArchive*, FLinkerInstancingContext const*) Address = 0x1101e7cb7 (filename not found) [in UnrealEditor-CoreUObject.dylib]
UEditorEngine::Map_Load(char16_t const*, FOutputDevice&) Address = 0x12d2a3466 (filename not found) [in UnrealEditor-UnrealEd.dylib]
UEditorEngine::HandleMapCommand(char16_t const*, FOutputDevice&, UWorld*) Address = 0x12d2c13c5 (filename not found) [in UnrealEditor-UnrealEd.dylib]
UEditorEngine::Exec(UWorld*, char16_t const*, FOutputDevice&) Address = 0x12d2bd874 (filename not found) [in UnrealEditor-UnrealEd.dylib]
UUnrealEdEngine::Exec(UWorld*, char16_t const*, FOutputDevice&) Address = 0x12dfa75da (filename not found) [in UnrealEditor-UnrealEd.dylib]
FEditorFileUtils::LoadMap(FString const&, bool, bool) Address = 0x12d733247 (filename not found) [in UnrealEditor-UnrealEd.dylib]
FEditorFileUtils::LoadDefaultMapAtStartup() Address = 0x12d74646b (filename not found) [in UnrealEditor-UnrealEd.dylib]
FUnrealEdMisc::OnInit() Address = 0x12defa403 (filename not found) [in UnrealEditor-UnrealEd.dylib]
EditorInit(IEngineLoop&) Address = 0x12def818b (filename not found) [in UnrealEditor-UnrealEd.dylib]
GuardedMain(char16_t const*) Address = 0x1021e059c (filename not found) [in UnrealEditor]
-[UEAppDelegate runGameThread:] Address = 0x1021fb725 (filename not found) [in UnrealEditor]
-[FCocoaGameThread main] Address = 0x10c938cbc (filename not found) [in UnrealEditor-Core.dylib]
Unknown() Address = 0x7ff8052b63bc (filename not found) [in Foundation]
_pthread_start Address = 0x7ff80444d259 (filename not found) [in libsystem_pthread.dylib]
thread_start Address = 0x7ff804448c7b (filename not found) [in libsystem_pthread.dylib]