Commit Graph

222 Commits

Author SHA1 Message Date
carlmagnus nordin
322068f3c8 Implemented FromLocalPath on slimmed down FPackagePath
#jira UE-126031
#rnx
#rb pj.kack

#ROBOMERGE-AUTHOR: carlmagnus.nordin
#ROBOMERGE-SOURCE: CL 17455754 via CL 17455882 via CL 17455888 via CL 17455889
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v870-17433530)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17455907 by carlmagnus nordin in ue5-release-engine-test branch]
2021-09-08 05:52:40 -04:00
carlmagnus nordin
a846bdb5ed Fixed crash when trying to convert empty or invalid package paths to filenames
#rb pj.kack
#rnx

#ROBOMERGE-AUTHOR: carlmagnus.nordin
#ROBOMERGE-SOURCE: CL 17441512 via CL 17441520 via CL 17441525 via CL 17441528
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v870-17433530)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17441531 by carlmagnus nordin in ue5-release-engine-test branch]
2021-09-07 01:31:48 -04:00
jeanfrancois dube
b5834e597c Cache all mounted roots in FLongPackagePathsSingleton instead of generating a string array on each calls from various functions in FPackageName.
Greatly reduce temporary memory allocations from callers (worst offender during editor loads was FPackageName::IsValidLongPackageName).

#rb matt.peters
#preflight none

#ROBOMERGE-SOURCE: CL 17401227 via CL 17402199
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17402247 by jeanfrancois dube in ue5-release-engine-test branch]
2021-09-02 09:09:58 -04:00
matt peters
a5b45baaf7 Fix whitespace merge error.
#rnx
#rb None, trivial

#ROBOMERGE-SOURCE: CL 17376646 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17376685 by matt peters in ue5-release-engine-test branch]
2021-08-31 16:17:24 -04:00
luc eygasier
10d4800ede Rework Source Control Changelist Window?s Asset beautification:
* Adds Source Control Asset Data cache. Preventing Source Control Changelist Window to rebuild AssetData from scratch when UI refresh takes place
* Modifies Source Control beautification to async process, preventing crowded changelists to block the workflow. The filenames are now beautified when available.
* Parallelize AssetData information retrieval from SourceControl
* Updates message displayed when refreshing window's items

#rb Sebastien.Lussier, JeanFrancois.Dube
#jira UETOOL-3522

#changelist validated

#ROBOMERGE-SOURCE: CL 17375288 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17375337 by luc eygasier in ue5-release-engine-test branch]
2021-08-31 15:14:29 -04:00
carlmagnus nordin
32e4a5213e Implemented a stripped down version of FPackagePath for use outside of the editor in order to save memory
#rnx
#jira UE-120698

#ROBOMERGE-SOURCE: CL 17300999 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17301011 by carlmagnus nordin in ue5-release-engine-test branch]
2021-08-25 08:02:24 -04:00
julien stjean
04e8cf594b Fixed the function TryConvertFilenameToLongPackageName
converting a file to a package path that can't exist for that for that file.

This was causing an issue were the asset registry would think that a folder was deleted when in fact it was a file that was deleted.

Ex:
"../../../EngineTest/Content/NewFolder/.FileWithExtensionButNoName" would convert to  ""../../../EngineTest/Content/NewFolder/" when it should fail.

#jira UE-113163
#preflight 611faf78e7a30700018a69fb
#rb Matt.Peters

#ROBOMERGE-SOURCE: CL 17247636 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17247642 by julien stjean in ue5-release-engine-test branch]
2021-08-20 10:39:15 -04:00
matt peters
b4596e1993 #jira UE-121324
Add PackageAccessTracking ops for reset and noaccessaccepted, to debug and fix the too-broad save op.
#rb Zousar.Shaker
#rnx

#ROBOMERGE-SOURCE: CL 17200008 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17200021 by matt peters in ue5-release-engine-test branch]
2021-08-17 12:50:23 -04:00
paul chipchase
28f0765a05 Add an overload of FPathName::IsPackageExtension that takes an EPackageExtension as the parameter.
#rb Matt.Peters
#rnx
#preflight 6114cb9329ebef00012c41e7

- Matches the overload of ::IsTextPackageExtension that also takes a EPackageExtension parameter.

#ROBOMERGE-SOURCE: CL 17148303 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17148306 by paul chipchase in ue5-release-engine-test branch]
2021-08-12 04:40:09 -04:00
matt peters
35577abb00 PackageAccessTracking: Add UE_TRACK_REFERENCING_PACKAGE_SCOPED_PLATFORM. Move PackageBuildDependencyTracker into UnrealEd; it's currently just a demo class, and we will start using it soon in UnrealEd.
Improve performance of FPackageBuildDependencyTracker::StaticOnObjectHandleRead by removing the iteration over PackageScopes and instead accumulating that information in the constructor of each PackageScope. The constructor accumulation is cheap so this should be cheaper overall.
#rb Zousar.Shaker
#rnx

#ROBOMERGE-SOURCE: CL 17106400 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v854-17104634)

[CL 17106517 by matt peters in ue5-release-engine-test branch]
2021-08-09 15:39:59 -04:00
aurel cordonnier
25a11deeac Merge from Release-Engine-Staging @ 16579919
This represents UE4/Main @ 16579691 and Dev-PerfTest @ 16579576

[CL 16581170 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-07 20:09:45 -04:00
Francis Hurteau
87fd0a4157 Harvest soft object path package on save for cooker to handle save permutations such as the world partition grid cell split:
* Added a function to RedirectCollector to ingest soft package references
* Push the harevest soft package references from save to the redirect collector on a succesful save
* Moved the processing of soft package reference associated with a package during cook to after that package has been saved

#rb Matt.Peters
#jira UE-115137

[CL 16534223 by Francis Hurteau in ue5-main branch]
2021-06-02 10:28:45 -04:00
aurel cordonnier
43fa62fcd8 Merge from Release-Engine-Test @ 16487383 to UE5/Main
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526

[CL 16488106 by aurel cordonnier in ue5-main branch]
2021-05-27 13:40:37 -04:00
Matt Peters
b5a8a53c42 FPackageName::DoesPackageExist: downgrade ensurefailure+Error to a warning in the case that input LongPackageName is not mounted.
This ensure has been hit twice, and in both cases the calling code would have correctly handled the false return value, and we needed to alter it to avoid the ensure.
#rb Josh.Adams
#rnx

[CL 16324168 by Matt Peters in ue5-main branch]
2021-05-13 21:35:54 -04:00
Richard Malo
79bcc1603d Added profile tag for FPackageName::DoesPackageExist
#rb none

[CL 16275484 by Richard Malo in ue5-main branch]
2021-05-11 13:42:34 -04:00
Patrick Enfedaque
79a9c3d7ee Optimize FPackageName::TryGetMountPointForPath by caching mount point absolute paths at creation time
#rb matt.peters

[CL 16271005 by Patrick Enfedaque in ue5-main branch]
2021-05-11 11:42:13 -04:00
paul chipchase
71b969d9c4 Cherrypicking Mirage code base (disabled) from Dev-Cooker
- The mirage specific code is disabled behind the define UE_USE_VIRTUALBULKDATA, this means that some code paths in Texture/Mesh are much more complex than they need to be as we support both old and new paths. Once the system has been turned on and confirmed to cause no issues then this will be stripped out.
- SavePackageUtilities.cpp, SavePackage.cpp and SavePackage2.cpp are editgrates rather than integrations as those files have changes in DevCooker that we don't want to bring over immediately.
- Also includes a prototype system for storing bulkdata in a sidecar file in the workspace domain rather than in the .uasset/.umap file which although has been discontinued as part of mirage, will have applications for future work for non-virtualized projects and/or text based assets.

#rb Patrick.Finegan (all changes have been reviewed when submitted to Dev-Cooker)
#tests Cooking and running ShooterGame/Frosty and other sample programs using megascan assets
#rnx
#preflight  608be50d870cf400013ff99d

[CL 16167285 by paul chipchase in ue5-main branch]
2021-04-30 08:14:54 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
Johan Torp
b5d82b47e4 Remove ~0.9M of ~4M allocations during startup of an internal demo project
Allocations came from ULevelStreamingDynamic::PostLoad()  -> IsValidStreamingLevel() -> FPackageName::DoesPackageExist() -> TryConvertToMountedPathComponents()

#rb matt.peters

[CL 16050266 by Johan Torp in ue5-main branch]
2021-04-19 09:36:33 -04:00
mark lintott
2fa0ec20f0 Removal of UE4 references from code base
#rb trivial

[CL 16005742 by mark lintott in ue5-main branch]
2021-04-14 11:13:44 -04:00
Matt Peters
7b37d28361 Make UE::AssetRegistry::Filtering work on provided containers so that the upcoming threadsafe AssetRegistry can use its own threadsafe data for the queries.
#rb Dave.Belanger
#rnx

[CL 16005018 by Matt Peters in ue5-main branch]
2021-04-14 10:11:49 -04:00
mark lintott
bd61859350 #jira 112822
#rb johan.torp
Removal of UE4 references in Archive.h

[CL 16002350 by mark lintott in ue5-main branch]
2021-04-14 05:14:13 -04:00
Zousar Shaker
dcfd23bf53 Remove low value check statement that was causing high quantity of allocations due to FName to string conversion in the condition.
#rb matt.peters

[CL 15977842 by Zousar Shaker in ue5-main branch]
2021-04-12 11:00:20 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
Matt Peters
86c8a7f619 Remove temporary local IsRunningCookCommandlet since UE5 has a global version.
#rnx
#rb Dave.Belanger

[CL 15869878 by Matt Peters in ue5-main branch]
2021-03-30 20:50:44 -04:00