Hi @BlueMountainsIO,
Bought the plugin a month ago for easy Pak loading and stuff. I know you haven’t promised anything yet for Mobile devices, but I would love to have this working for the same. While testing the plugin for IOS I had encountered a problem. If anybody could help me solve the issue, it would be great!
The problem is I can’t register the mount point in IOS device after mounting the pak file:
Something is failing at the pakprecacher code.
This is the error shown by the log file:
[UE4] [2021.11.28-14.37.18:056][122]LogBlueprintUserMessages: [DefaultPawn_BP_C_2147482535] file:/var/mobile/Containers/Data/Application/9A9E3962-79DA-418D-BB02-DB9FD8242646/Documents/Saved/pakchunk1001-ios.pak
[UE4] [2021.11.28-14.37.18:543][136]LogPakLoader: FPakLoader::FPakLoader()
[UE4] [2021.11.28-14.37.18:547][136]LogPakFile: PakFile PrimaryIndexSize=626
[UE4] [2021.11.28-14.37.18:548][136]LogPakFile: PakFile PathHashIndexSize=308
[UE4] [2021.11.28-14.37.18:548][136]LogPakFile: PakFile FullDirectoryIndexSize=1209
[UE4] [2021.11.28-14.37.18:548][136]LogShaderLibrary: Display: ShaderCodeLibraryPakFileMountedCallback: PakFile ‘/var/mobile/Containers/Data/Application/9A9E3962-79DA-418D-BB02-DB9FD8242646/Documents/Saved/pakchunk1001-ios.pak’ (chunk index 1001, root ‘…/…/…/TestingFirebase/Content/’) mounted
[UE4] [2021.11.28-14.37.18:550][136]LogMetal: Display: No .metalmap file found for global_chunk1001_sf_metal!
[UE4] [2021.11.28-14.37.18:551][136]LogMetal: Display: Failed to create library: Error Domain=MTLLibraryErrorDomain Code=6 “library not found” UserInfo={NSLocalizedDescription=library not found}
[UE4] [2021.11.28-14.37.18:552][136]LogPakFile: OnPakFileMounted2Time == 0.003340
[UE4] [2021.11.28-14.37.18:552][136]LogBlueprintUserMessages: [DefaultPawn_BP_C_2147482535] Mounted File
[UE4] [2021.11.28-14.37.18:553][136]LogStreaming: Display: FlushAsyncLoading: 1 QueuedPackages, 0 AsyncPackages
[UE4] [2021.11.28-14.37.18:553][136]LogPackageLocalizationCache: Processed 1 localized package path(s) for 1 prioritized culture(s) in 0.000065 seconds
[UE4] [2021.11.28-14.37.18:553][136]LogOutputDevice: Warning:
[UE4] Assertion failed: PakPrecacherSingleton [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/PakFile/Private/IPlatformFilePak.cpp] [Line: 1462]
[UE4] [2021.11.28-14.37.18:553][136]Assertion failed: PakPrecacherSingleton [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/PakFile/Private/IPlatformFilePak.cpp] [Line: 1462]
[UE4] [2021.11.28-14.37.18:556][136]LogGenericPlatformMisc: FPlatformMisc::RequestExit(1)
The plugin is kept as a project plugin and I have whitelisted IOS and Mac in the uplugin file.
Would be cool if someone can help me to solve this issue as we have IOS as one of our main targeted platforms.