Commit Graph

9 Commits

Author SHA1 Message Date
jeanfrancois dube
6e83b016e4 World Partition: deprecate all flavors of FWorldPartitionHelpers::ForEachActorWithLoading in favor of the version which takes a FForEachActorWithLoadingParams.
#rb richard.malo
#preflight 627523f4e31cfc52d5b743e4
#rnx

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 20075620 via CL 20075630 via CL 20075637
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20106044 by jeanfrancois dube in ue5-main branch]
2022-05-09 13:41:41 -04:00
philippe deseve
ed0f48629d DataLayer API to go through DataLayerSubsystem instead of AWorlDataLayers
Move DataLayers' EditorWorldSetting logic from DataLayerEditorSubsystem & WorldDataLayers to DataLayerSubsystem
Use DataLayerInstance::GetOuterWorldDataLayers instead of retrieving the WorldDataLayers from UWorld::GetWorldDataLayers instead
Rename UDataLayerSubsystem::GetDataLayerFromAsset to GetDataLayerInstanceFromAsset to be inline with the rest of the API
Preparation for multiple AWorldDataLayers existing in the same world

#rb richard.malo
#test PIE, SIE, -game, Editing flow, cooked game, Hlods generation
#preflight 627402a0ca0ad32a968422af

#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-SOURCE: CL 20060072 via CL 20060595 via CL 20060607
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20062765 by philippe deseve in ue5-main branch]
2022-05-05 15:15:33 -04:00
philippe deseve
d05121f9b1 Undo 19721428
Access to WorldSubsystems at cook time are causing crashes

#rb richard.malo
#jira UE-148953 UE-148946
#preflight 62572be3d606fd159e9e67e0

#ROBOMERGE-OWNER: zousar.shaker
#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-COMMAND: _robomerge[bot4] UE5-MAIN
#ROBOMERGE-SOURCE: CL 19745482 via CL 19747379 via CL 19747391
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19751374 by philippe deseve in ue5-main branch]
2022-04-14 00:26:55 -04:00
philippe deseve
83be8e37a1 DataLayer API to go through DataLayerSubsystem instead of AWorlDataLayers
Move DataLayers' EditorWorldSetting logic from DataLayerEditorSubsystem & WorldDataLayers to DataLayerSubsystem
Use DataLayerInstance::GetOuterWorldDataLayers instead of retrieving the WorldDataLayers from UWorld::GetWorldDataLayers instead
Rename UDataLayerSubsystem::GetDataLayerFromAsset to GetDataLayerInstanceFromAsset to be inline with the rest of the API
Preparation for multiple AWorldDataLayers existing in the same world

#rb richard.malo
#preflight 6255924fcd5ed4dd0916d8e5

#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-SOURCE: CL 19721428 via CL 19721841 via CL 19722491
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19725557 by philippe deseve in ue5-main branch]
2022-04-12 14:08:25 -04:00
richard malo
a1f06c8f4b Fixed WorldPartitionDataLayerToAssetCommandlet to remove DataLayerInstances but keep the DeprecatedDataLayerNameToDataLayerInstance to do the runtime remapping of deprecated BP calls.
#rb philippe.deseve
#preflight 623a2b81bc1cf280386906c4

#ROBOMERGE-AUTHOR: richard.malo
#ROBOMERGE-SOURCE: CL 19471590 via CL 19475104
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v935-19464907)

[CL 19475580 by richard malo in ue5-main branch]
2022-03-22 23:02:22 -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
philippe deseve
5d395ced05 Undo changelist 18658885
Removes reference to DataLayerInstance and DataLayerAssets in code

#rb none
#preflight 61f985db4b0bc1c41763beec

#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-SOURCE: CL 18814886 in //UE5/Release-5.0/... via CL 18814907 via CL 18822785
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824315 by philippe deseve in ue5-main branch]
2022-02-02 07:37:06 -05:00
philippe deseve
be79c97b2e Fix no-unity builds
#rb trivial
#preflight none

#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-SOURCE: CL 18679698 in //UE5/Release-5.0/... via CL 18679908 via CL 18680441
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18680777 by philippe deseve in ue5-main branch]
2022-01-20 16:01:35 -05:00
philippe deseve
76a7d025fd UDataLayer data is split between UDataLayerAsset & UDataLayerInstance (change 1/2)
Underlying system still work with UDataLayer, deprecation of UDataLayer coming in a second CL.
UDataLayerAsset contains non-world specific data
UDataLayer Instance contains world-specifc data and referes a UDataLAsset
Actors refers UDataLayerAssets
AWorldDataLayers refers UDataLayerInstances
Use a Commandlet to convert existing UDataLayer to UDataInstance + UDataLayerAsset
Added a map to WorldDataLayers to allow retrieving a DataLayerAsset from the UDataLayer FName it was converted from (blueprint deprecation).

rb richard.malo jeanfrancois.dube
#preflight 61e832053778a195dee6eefe

#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-SOURCE: CL 18658885 in //UE5/Release-5.0/... via CL 18658892 via CL 18658905
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18658919 by philippe deseve in ue5-main branch]
2022-01-19 11:06:39 -05:00