Commit Graph

259 Commits

Author SHA1 Message Date
james doverspike
90c0ddf9ba [Backout] - CL24328738
[FYI] james.doverspike
Original CL Desc
-----------------------------------------------------------------
Cosmetic bulk asset streaming

Adds support for marking skeletal meshes and textures as optional files that stream from the cloud, typically used for cosmetics. Meshes and textures will now upload all of their non-inlined LODs as optional bulk files to the cloud, removing them from the pak files. The client will download into the VirtualFileCache in PersistentDownloadDir/VFC, which evicts least recently used LODs. These assets will have a longer delay to update to the higher quality LOD when their LODs are not in cache because they are now downloaded on-demand.

[CL 24373261 by james doverspike in ue5-main branch]
2023-02-22 19:19:46 -05:00
james doverspike
6a8a19a4b7 Cosmetic bulk asset streaming
Adds support for marking skeletal meshes and textures as optional files that stream from the cloud, typically used for cosmetics. Meshes and textures will now upload all of their non-inlined LODs as optional bulk files to the cloud, removing them from the pak files. The client will download into the VirtualFileCache in PersistentDownloadDir/VFC, which evicts least recently used LODs. These assets will have a longer delay to update to the higher quality LOD when their LODs are not in cache because they are now downloaded on-demand.

[CL 24331735 by james doverspike in ue5-main branch]
2023-02-20 20:22:07 -05:00
bob tellez
79d7201510 [Backout] - CL24230614
[FYI] james.doverspike
Original CL Desc
-----------------------------------------------------------------
Cosmetic bulk asset streaming

Adds support for marking skeletal meshes and textures as optional files that stream from the cloud, typically used for cosmetics. Meshes and textures will now upload all of their non-inlined LODs as optional bulk files to the cloud, removing them from the pak files. The client will download into the VirtualFileCache in PersistentDownloadDir/VFC, which evicts least recently used LODs. These assets will have a longer delay to update to the higher quality LOD when their LODs are not in cache because they are now downloaded on-demand.

[CL 24253381 by bob tellez in ue5-main branch]
2023-02-16 04:15:55 -05:00
james doverspike
4e78faf0de Cosmetic bulk asset streaming
Adds support for marking skeletal meshes and textures as optional files that stream from the cloud, typically used for cosmetics. Meshes and textures will now upload all of their non-inlined LODs as optional bulk files to the cloud, removing them from the pak files. The client will download into the VirtualFileCache in PersistentDownloadDir/VFC, which evicts least recently used LODs. These assets will have a longer delay to update to the higher quality LOD when their LODs are not in cache because they are now downloaded on-demand.

[CL 24251508 by james doverspike in ue5-main branch]
2023-02-16 01:47:06 -05:00
anton dunchev
990e8f0d44 MemQuery use PackageStore to resolve dependencies
#tests replay
#rb Robert.Millar
[FYI] andrew.ladenberger, simon.orr

[CL 24202843 by anton dunchev in ue5-main branch]
2023-02-13 22:45:46 -05:00
Matt Peters
7dfa3846ff PakFilePrecacher: Fix deadlock by avoiding calling the body of ClearOldBlockTasks while holding CachedFilesScopeLock.
ClearOldBlockTasks can BusyWait, which can call FAsyncIOCPUWorkTask::DoTask, which can try to take a FPakAsyncReadFileHandle's CriticalSection. FPakAsyncReadFileHandle's CriticalSection must be entered first when holding both CriticalSection and CachedFilesScopeLock to prevent deadlocks.
#rb Per.Larsson
#rnx
#preflight 63e144cdc2257e56f4ee08a3

[CL 24035541 by Matt Peters in ue5-main branch]
2023-02-06 14:17:52 -05:00
jeanmichel dignard
8d07a7338f Exec commands changes:
- Port some development only exec commands to Exec_Dev.

#rb none
#preflight 63c5c97f02024f93d822d678

[CL 23734254 by jeanmichel dignard in ue5-main branch]
2023-01-16 19:28:53 -05:00
Francis Hurteau
9dfe27ab41 Truncation warning fixes for multiple core modules:
CookOnTheFly, CookOnTheFlyNetServer, PakFileUtilities, PakFile

#jira UE-166274
#rb PJ.Kack
#preflight 63c041f01a06fc61057115b7

[CL 23666183 by Francis Hurteau in ue5-main branch]
2023-01-12 13:17:30 -05:00
thomas ross
292d449b84 Fixing crash when unmounting a pak that is not yet in the paklist.
#rb swarm
#tests Android Dev Client

[CL 23369768 by thomas ross in ue5-main branch]
2022-12-01 23:36:02 -05:00
pj kack
d5aea7d4ef Fix IPlatformFilePak deadlock when mounting and unmounting simultaneously from different threads.
Refactor Mount and Unmount to only acquire one lock at a time.
Mount was calling into FPakPlatformFile::GetPakSignatureFile() and acquiring PakSignatureFileCacheLock before calling CreateFileReader() which ends up acquiring PakListCritical in FPakPlatformFile::GetMountedPaks().
Unmount was acquiring PakListCritical first and then calling into FPakPlatformFile::RemoveCachedPakSignaturesFile() and acquiring PakSignatureFileCacheLock.


#rb carlmagnus.nordin
#rnx
#preflight 638713b84004f73f6219fda9

[CL 23325188 by pj kack in ue5-main branch]
2022-11-30 06:20:18 -05:00
rex hill
cc31e97fe2 Fix Static Analysis Win64 (MSVC): UE_FORCE_USE_IOSTORE
#preflight skip
#rnx

[CL 22823848 by rex hill in ue5-main branch]
2022-10-28 01:03:21 -04:00
rex hill
c217a35bcf Add UE_FORCE_USE_PAKS and UE_FORCE_USE_IOSTORE preprocessors so a target can set them for devs to stop needing to manually pass those arguments.
#preflight 6359cb6f9b2e9c76c7d90410
#rb dave.belanger

[CL 22810699 by rex hill in ue5-main branch]
2022-10-27 11:20:38 -04:00
dmytro vovk
a02c1fc739 Fixed IMappedFileHandle::MapRegion to map files\regions smaller than a page size
#jira none
#rb Brandon.Schaefer
#preflight 6320c80447741a7dbd233398

[CL 22092571 by dmytro vovk in ue5-main branch]
2022-09-20 10:34:38 -04:00
Andriy Tylychko
6b7a075ba7 FCoreDelegates cleanup: removed delegate macros
#preflight 632072f947741a7dbd03e2c1
#rb steve.robb

[CL 21981540 by Andriy Tylychko in ue5-main branch]
2022-09-13 09:08:26 -04:00
Andriy Tylychko
158d311d73 FCoreDelegates: deprecations cleanup #2
#preflight 631878c0980179553e6f32d7
#rb matt.peters

[CL 21847431 by Andriy Tylychko in ue5-main branch]
2022-09-07 07:27:19 -04:00
Andriy Tylychko
ab033b8854 FCoreDelegates: deprecations cleanup #1
#preflight 63187771a20b67673b2f4c22
#rb paul.chipchase

[CL 21847272 by Andriy Tylychko in ue5-main branch]
2022-09-07 07:14:57 -04:00
Per Larsson
5792400769 PAK - use FileExists instead of OpenRead when mounting PAK files
#rb PJ.Kack
#jira UE-130681
#8465
#rnx
#preflight 6310b423ea685939704c04e9

[CL 21740752 by Per Larsson in ue5-main branch]
2022-09-01 10:38:45 -04:00
mark lintott
18e87ce3ed Removed unacceptable words from IPlatformPak
#rb pj.kack
#jira UE-158666
#preflight 62fe625f3f75602b2f064b53

[CL 21455048 by mark lintott in ue5-main branch]
2022-08-19 05:44:45 -04:00
CarlMagnus Nordin
3d5a2052dc AsyncLoading2: Add support for having multiple PackageStore backends
#preflight 6296fc872a1851b4ccae7e39
#rb pj.kack

[CL 20447121 by CarlMagnus Nordin in ue5-main branch]
2022-06-01 02:12:33 -04:00
David Harvey
a4fb95c2b8 Allow for platform specializations of the 'is pak file installed' logic when enumerating pak files.
#jira UE-152852
#preflight 628b8b90f1421422ea695cf7
#rb Justin.Marcus

[CL 20361380 by David Harvey in ue5-main branch]
2022-05-25 04:30:23 -04:00
CarlMagnus Nordin
0e301802b1 PR #9165: Prevent fileOpenLog command-line to bypass signature check (Contributed by rveilleux)
#rb none
#preflight 627e40145d0fe3ffef3a8d3e

[CL 20180214 by CarlMagnus Nordin in ue5-main branch]
2022-05-13 08:58:06 -04:00
guillaume abadie
b4db51bf8a Fixes -cvarsini when bAllowNonUFSIniWhenCooked=false
#rb trivial
#preflight 627d4ea9dd54e9fde6929bc5

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 20169322 via CL 20169364 via CL 20169393
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20170742 by guillaume abadie in ue5-main branch]
2022-05-12 16:38:20 -04:00
CarlMagnus Nordin
63b8cbc9dd AsyncLoading2: Implemented loading of optional package segments
#rnx
#preflight 62627548ac29fcf6a213fe33
#rb francis.hurteau

[CL 19900368 by CarlMagnus Nordin in ue5-main branch]
2022-04-25 07:37:07 -04:00
Matt Peters
f23ab4e7bb FPaths and PakPlatformFile: suppress the Pak warning mounting to unregistered paths when the mount path is GameFeatureRootPrefix.
#jira UE-149431
#rb Brandon.Schaefer
#rnx
#preflight 625efc29db15ac92dba1c193

[CL 19820566 by Matt Peters in ue5-main branch]
2022-04-19 18:41:54 -04:00
dave belanger
7cdeea2000 Support -UsePaks on monolithic editor with unccoked data
#rb Josh.Adams
#preflight 6238d7c910251d53d5636a1b

#ROBOMERGE-AUTHOR: dave.belanger
#ROBOMERGE-SOURCE: CL 19465146 via CL 19465653 via CL 19466852 via CL 19475582 via CL 19475844
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v935-19464907)

[CL 19476451 by dave belanger in ue5-main branch]
2022-03-23 01:26:26 -04:00