Commit Graph

79 Commits

Author SHA1 Message Date
vincent beauchemin
b6be525b06 Revert Log to Display and keep it only to display the generate ini file location.
#rb jeanfrancois.dube
#preflight skip
#rnx

[CL 20437514 by vincent beauchemin in ue5-main branch]
2022-05-31 11:22:14 -04:00
vincent beauchemin
4debb6a9a3 Simply add the name and location of generated INI files to the World Partion Convert Commandlet. Make sure the log on Display to see them in the editor when using Tool -> Convert level option
#rb patrick.enfedaque
#jira UE-107026 - Add the name and location of generated INI files to the Commandlet Output Log when GenerateINI = True
#preflight skip
#rnx

[CL 20432222 by vincent beauchemin in ue5-main branch]
2022-05-30 14:42:25 -04:00
JeanFrancois Dube
c457c50170 World Partition Convert Commandlet: make sure to destroy the persistent level model before saving sublevels with level blueprints.
#rb patrick.enfedaque
#jira UE-153880
#preflight none
#rnx

[CL 20349796 by JeanFrancois Dube in ue5-main branch]
2022-05-24 12:07:44 -04:00
robert manuszewski
f8a812a32f Converting hardcoded short class/enum names to pathnames ahead of ANY_PACKAGE removal
#rb trivial
#jira UE-99463
#preflight 6288fd998828ea88c8aef3d0

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20314896 via CL 20314897 via CL 20314903 via CL 20314904
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20315214 by robert manuszewski in ue5-main branch]
2022-05-22 10:30:02 -04:00
jeanfrancois dube
a002d75e5b World Partition Convert Commandlet: automatically set actors referenced by the Level Script as non-spatially loaded to avoid warnings when opening the map.
#rb patrick.enfedaque
#jira UE-141741
#preflight none
#rnx

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 20101319 via CL 20101331 via CL 20101336
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20108630 by jeanfrancois dube in ue5-main branch]
2022-05-09 15:13:17 -04:00
Matt Peters
7ad238a806 AssetRegistry includes (Engine/Source): change #include "AssetData.h" -> #include "AssetRegistry/AssetData.h", and similar for the other moved AssetRegistry headers.
#rb Zousar.Shaker
#rnx
#preflight 6270509a220f89f0ad573030

[CL 20016982 by Matt Peters in ue5-main branch]
2022-05-02 18:06:48 -04:00
jeanfrancois dube
2acfdfa04c World Partition: don't explicitly initialize the editor hash when converting a world as we now properly initalize the world partition object since 19303190.
Also foxed typo in error message when converting an already partitioned world.

#jira UE-147251, UE-147245
#rb patrick.enfedaque
#preflight none
#rnx

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 19526278 via CL 19526310 via CL 19526336
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19532654 by jeanfrancois dube in ue5-main branch]
2022-03-28 16:24:52 -04:00
philippe deseve
8218e80ef1 UDataLayer deprecated in favor of UDataLayerInstance & UDataLayerAsset
UDeprecatedDataLayerInstance allows to boot level using deprecated UDataLayers
Worlds using DataLayer can run the DataLayerToAssetCommandlet to transition their existing DataLayers
FActorDataLayer interface is deprecated.
DataLayers Blueprint referencers should now use DataLayerAsset to retrieve DataLayerInstances.
DataLayer Code referencers should now use DataLayerAssets or DataLayerInstance FName to retrieve DataLayerInstances.
DataLayerLabels now only used for display/UI purpose
Relabeling DataLayers is not permitted anymore on new DataLayerInstances (allowed on UDeprecatedDataLayerInstance)
Added Changelist Validation for DataLayers
Added a column to the datalayer outliner showing any data layer errors.

#rb richard.mal jeanfrancois.dube
#preflight 623098c2050dc69468b6a297 (errors only related to lyra, which do not exist in this stream)

#ROBOMERGE-OWNER: philippe.deseve
#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-SOURCE: CL 19385808 via CL 19387392
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19389077 by philippe deseve in ue5-main branch]
2022-03-15 13:52:28 -04:00
JeanFrancois Dube
9a8458bb3f WorldPartitionConvertCommandlet: better logging for bad commandlet parameters.
#rb philippe.deseve
#preflight 62222f0bc33b6ba25d0ab17c

[CL 19284086 by JeanFrancois Dube in ue5-main branch]
2022-03-07 07:39:57 -05:00
jeanfrancois dube
9aabdf23c3 World Partition UE5 default experience:
- Added option 'DisableStreaming' in the World Partition convert commandlet to allow disabling streaming for converted maps.
- Added flag 'bEnableStreaming' for partitioned worlds that can be used to disable streaming but keep key features such as OFPA and Data Layers.
- In this mode, the streaming generation acts as standard level streaming and can be enabled at any time by the user.
- This mode is enabled by default for new partitioned maps created from the empty template or the open world template.
- The World Partition convert commandlet will now duplicate the default HLOD layers setup.
- Show a hint in the World Partition window that streaming is disabled.
- When disabling streaming from the UI, show a dialog to warn the user about the implications of the change.
- When enabling streaming for the first time, show a dialog to warn the user that the world is about to be set up for streaming.
- When saving a map, don't duplicate its HLOD setup unless it's a template map.
- Includes changes from MattK: `Allow external object details customizations to hide the root object node`.
- TODO: Convert all template maps from the Games project to use World Partiton with streaming disabled using the new 'DisableStreaming' commandlet option.

#rb patrick.enfedaque, richard.malo
#jira UE-143719
#preflight

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 19149766 in //UE5/Release-5.0/... via CL 19150115
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19160979 by jeanfrancois dube in ue5-main branch]
2022-02-25 19:31:01 -05:00
robert manuszewski
97b5e82c0b Deprecating EInternalObjectFlags::PendingKill. Making sure iterators use the appropriate flags based on the current state of PendingKill being enabled or not.
#preflight 61f8f33d537702981c352c7a
#rb Steve.Robb

#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 18806353 in //UE5/Release-5.0/... via CL 18808526 via CL 18821789
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18822151 by robert manuszewski in ue5-main branch]
2022-02-02 02:21:12 -05:00
francis hurteau
5714cca54f Reduced runtime UPackage size from 176b to 144b or 120b when stripping deprecated properties
This should saves around ~1.5 Mb to ~3 Mb at runtime with ~50000 packages

Added a new core define UE_STRIP_DEPRECATED_PROPERTIES that could be used to wrap deprecated properties and strip them to regain memory when a projects becomes compliant. this can be set in the project target file
Deprecated most public properties from UPackage and created accessors for them

#rb PJ.Kack
#jira UE-138957
#preflight 61f17a6f7266f4e79bd62601

#ROBOMERGE-AUTHOR: francis.hurteau
#ROBOMERGE-SOURCE: CL 18738937 in //UE5/Release-5.0/... via CL 18739524 via CL 18741373
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18742135 by francis hurteau in ue5-main branch]
2022-01-26 15:00:04 -05:00
luc eygasier
8009799d9e Removes "Reload Minimap" button and minimap generation from convert commandlet.
Removes "MinimapSize" from properties as only tile resolution is used to generate the texture.
MiniMap builder should be only used as an independant commandlet.

#rb JeanFrancois.Dube
#preflight 61e9791f1739bb8724d38b52

#changelist validated

[CL 18675191 by luc eygasier in ue5-main branch]
2022-01-20 10:35:56 -05:00
luc eygasier
3627021653 Adds embedded FoliageType conversion to UWorldPartitionConvertCommandlet
#jira UE-136633
#rb Patrick Enfedaque
#robomerge Release-5.0
#preflight 61e70f0d3778a195debedc4d

#changelist validated

[CL 18646963 by luc eygasier in ue5-main branch]
2022-01-18 15:38:27 -05:00
richard malo
7910d3a268 WorldPartition now has its own max world size (value is currently equal to UE_OLD_WORLD_MAX).
#rb jeanfrancois.dube
#preflight 61e05560797757aace812d6f
#jira FROST-8316

#ROBOMERGE-AUTHOR: richard.malo
#ROBOMERGE-SOURCE: CL 18598558 in //UE5/Release-5.0/... via CL 18598568 via CL 18598585
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18598607 by richard malo in ue5-main branch]
2022-01-13 12:14:52 -05:00
richard malo
481f65fe16 New Actor Folders objects.
- When enabled, folders are actual objects : modifying a folder won't affect actors (more compliant with OFPA).
- Enabled by default for World Partition and Level Instances.
- Can be enabled on regular levels (experimental feature 'Use Actor Folder Objects').
- If Level uses OFPA, ActorFolders will also be saved in their own package (but will use __ExternalObjects__ root folder).
- In a future refactoring, external actors will also be moved in the same root folder.
- Generalized saving object in an external package (different from its outer package)
- World outliner supports old folders and new actor folder objects : Levels using the actor folder objects will show a root Level node (like Level Instances).
#rb patrick.enfedaque, jeanfrancois.dube
#preflight 61d84b356511bc498e5cb858

#ROBOMERGE-AUTHOR: richard.malo
#ROBOMERGE-SOURCE: CL 18543443 in //UE5/Release-5.0/... via CL 18543482
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18543525 by richard malo in ue5-release-engine-test branch]
2022-01-07 10:01:19 -05:00
jeanfrancois dube
b9e77435eb Don't try to change spatially loaded flag on actors that don't allow changing it.
#rb none

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 18443685 in //UE5/Release-5.0/... via CL 18445111
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18445271 by jeanfrancois dube in ue5-release-engine-test branch]
2021-12-13 13:36:10 -05:00
jeanfrancois dube
3f12778841 World Partition Grid Placement
- Deprecated enum EActorGridPlacement and replaced AActor::GridPlacement by bIsSpatiallyLoaded.
  - It makes more sense from a user perspective to set an actor as "non-spatially loaded" instead of "always loaded", especially with data layers.
  - If we ever need it, having the possibility to set actors to use their location or bounds to go in the grid will be a per-grid setting.

#rb richard.malo, sebastien.lussier
#preflight 61af8bf10e59fd0ab0f93cc4

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 18395825 in //UE5/Release-5.0/... via CL 18395836
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18395850 by jeanfrancois dube in ue5-release-engine-test branch]
2021-12-07 11:50:24 -05:00
luc eygasier
526d18e373 Adds OnlyMergeSubLevels option when converting Levels and Sublevels to convert them to OFPA without WorldPartition.
Allows the converted level to be used as a LevelInstance in WP.

#rb JeanFrancois.Dube
#jira UE-132607

#changelist validated

#ROBOMERGE-AUTHOR: luc.eygasier
#ROBOMERGE-SOURCE: CL 18387715 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v896-18170469)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0

[CL 18387749 by luc eygasier in ue5-release-engine-test branch]
2021-12-06 16:16:42 -05:00
richard malo
92845aac0c When converting a world composition map to world partition, all actors are now going in a single runtime grid. Removed the creation of 1 spatial hash runtime grid per world composition layer.
#jira UE-134866
#rb jeanfrancois.dube
#preflight 61a0e87f902e796b32fc3a19

#ROBOMERGE-AUTHOR: richard.malo
#ROBOMERGE-SOURCE: CL 18299958 in //UE5/Release-5.0/... via CL 18299980
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18299982 by richard malo in ue5-release-engine-test branch]
2021-11-26 09:31:40 -05:00
jeanfrancois dube
c2257ea66e World Partition: always create the world data layers actor.
#rb patrick.enfedaque
[FYI] dominic.couture, luc.eygasier

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 18291366 in //UE5/Release-5.0/... via CL 18291390
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18291402 by jeanfrancois dube in ue5-release-engine-test branch]
2021-11-24 20:44:39 -05:00
matt peters
e2962f88c9 SavePackage: Deprecate Conform and DiffMap arguments, and change the interface to use a FSavePackageArgs struct instead of a large number of separate arguments.
#rb Francis.Hurteau
[RN] Core, Minor

#ROBOMERGE-AUTHOR: matt.peters
#ROBOMERGE-SOURCE: CL 18279152 in //UE5/Release-5.0/... via CL 18279174
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18279186 by matt peters in ue5-release-engine-test branch]
2021-11-23 20:56:06 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
luc eygasier
dda6fd46d5 Modifies WorldParitionMinimapBuilder to use Virtual Textures, loading iteratively cells.
* Adds Virtual Texture rendering for Slate Element
* Adds Initialize/Finalize methods to WorldPartition builders

#rb JeanFrancois.Dube, Jeremy Moore, Sebastien.Lussier
[FYI] Yoan.StAmant

#changelist validated

#ROBOMERGE-AUTHOR: luc.eygasier
#ROBOMERGE-SOURCE: CL 18063075 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v889-18060218)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0

[CL 18063089 by luc eygasier in ue5-release-engine-test branch]
2021-11-04 16:13:08 -04:00