SearchAllAssets in Android Crashes

After mounting the chunk data, if you run SearchAllAssets(true) in AssetRegistry, the assets existing in the chunk data are also imported in Windows.

However, on mobile, if you run that statement, it crashes.

  TFunction<void(bool bSuccess)> LoadingModeCompleteCallback = [&](bool bSuccess)
  {
      OnLoadingModeComplete(bSuccess);
  };
  Downloader->BeginLoadingMode(LoadingModeCompleteCallback);


void UPatchingSubsystem::OnLoadingModeComplete(bool bSuccess)
{

    if (bSuccess)
    {
        AssetManager.GetAssetRegistry().SearchAllAssets(true);
    }
}

The file path refers to a saved map, but it is passed without adding / at the end, and this seems to be the problem.

Do you know how to solve this problem?

It seems like an engine bug, but it was not resolved as of 5.4.1, so AndroidPlatformFile.cpp was modified as follows.

int64 GetEntryLength(const FString & Path)
{
	const FString& Dir = Path + TEXT("/");
	if (Entries.Contains(Path))
	{
		TSharedPtr<FFileHandleAndroid>& File = Entries[Path]->File;
		return File != nullptr ? File->Size() : 0;
	}
	else if (Entries.Contains(Dir))
	{
		TSharedPtr<FFileHandleAndroid>& File = Entries[Dir]->File;
		return File != nullptr ? File->Size() : 0;
	}
	else
	{
		return 0;
	}
	TSharedPtr<FFileHandleAndroid>& File = Entries[Path]->File;
	return File != nullptr ? File->Size() : 0;
}