Description

We may fix this issue by the following codes.

 

FPakPlatformFile::FPakPlatformFile(): 
   LowerLevel(NULL)	
   ,bSigned(false)
{
   // remove
   //FCoreDelegates::GetRegisterEncryptionKeyMulticastDelegate().AddRaw(this, &FPakPlatformFile::RegisterEncryptionKey);
}

bool FPakPlatformFile::Initialize(IPlatformFile* Inner, const TCHAR* CmdLine)
{
   ...
   FCoreDelegates::OnFEngineLoopInitComplete.AddRaw(this, &FPakPlatformFile::OptimizeMemoryUsageForMountedPaks); 	

   // add	
   FCoreDelegates::GetRegisterEncryptionKeyMulticastDelegate().AddRaw(this, &FPakPlatformFile::RegisterEncryptionKey);
   return !!LowerLevel;
}
Steps to Reproduce
  1. Open attached project
  2. Set HttpChunkInsatllDataDirectory of ProjectSettings to appropriate path
  3.  Create Mac or iOS package

expect : generate package and chunks
result : packaging doesn't finish  

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-107077 in the post.

27
Login to Vote

Unresolved
ComponentPortal
Affects Versions4.26
Target Fix5.5
CreatedJan 25, 2021
UpdatedFeb 29, 2024