Commit Graph

777 Commits

Author SHA1 Message Date
roey borsteinas
295564427d Consolidated the Waterbody navigation and collision settings onto the UPrimitiveComponent interfaces and deprecated the duplicate water functions.
#rb jonathan.bard
#preflight 6290d3363c05bea8bfd244d0

#ROBOMERGE-AUTHOR: roey.borsteinas
#ROBOMERGE-SOURCE: CL 20436491 via CL 20436501 via CL 20436509
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448581 by roey borsteinas in ue5-main branch]
2022-06-01 03:50:44 -04:00
jeremy moore
6ffda2e45e Add bEvaluateWorldPositionOffset property which will be used to determine whether to evaluate WPO.
Actual usage of the property will get merged in from UE5, but adding the placeholder property here to reduce pain from data merges.
This change also remaps the original bEvaluateWorldPositionOffset on SMC into bEvaluateWorldPositionOffsetInRayTracing, because this var was only ever driven by ray tracing specific methods.
We expect to need to special case robomerging the remap of bEvaluateWorldPositionOffsetInRayTracing since it needs to be done from different branches with different branch specific versions.
#rnx
#preflight 62912113fe5e30102ab83d32

#ROBOMERGE-OWNER: jeremy.moore
#ROBOMERGE-AUTHOR: jeremy.moore
#ROBOMERGE-SOURCE: CL 20398059 via CL 20398673 via CL 20398786
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20401242 by jeremy moore in ue5-main branch]
2022-05-27 19:30:55 -04:00
Geoffrey Douglas
7d3985da84 Centralize application of nodal offset to LensComponent, removing all references to nodal offset from the LiveLink camera controller
#jira UE-153107
#jira UE-146118
#rb simon.therriault
#preflight 628fe02174630984fd4eb26a

[CL 20385271 by Geoffrey Douglas in ue5-main branch]
2022-05-26 16:49:09 -04:00
jurre debaare
ce3022367c UAnimDataModel fix for single-frame animations which were incorrectly upgraded. As we now expect uniform key data, the model should contain 2 keys for a single-frame anim.
#rb Thomas.Sarkanen
#preflight 62865a2515019f6477444877

#ROBOMERGE-OWNER: jurre.debaare
#ROBOMERGE-AUTHOR: jurre.debaare
#ROBOMERGE-SOURCE: CL 20283137 via CL 20283984 via CL 20283998
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20304647 by jurre debaare in ue5-main branch]
2022-05-20 18:44:26 -04:00
vincent robert
83b789ded4 Optimize BVH, cache improvement
#preflight: https://horde.devtools.epicgames.com/job/627a58b8705bfaf9ae36db7d

[CL 20123324 by vincent robert in ue5-main branch]
2022-05-10 11:04:25 -04:00
jeanfrancois dube
d86ffe48bd World Partition Actor Descriptors:
- Added actor tags to actor descriptors so they can be queried for unloaded actors.
- Added filtering by actor tags in WorldPartitionResaveActorsBuilder.

#rb patrick.enfedaque, richard.malo
#preflight 62751614e31cfc52d5aea104
#rnx

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 20074269 via CL 20074279 via CL 20074282
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20105943 by jeanfrancois dube in ue5-main branch]
2022-05-09 13:38:24 -04:00
Geoffrey Douglas
1fda1c70bb Refactor the LiveLink component to allow each LiveLink controller in its controller map to specifiy a component to control
Deprecate the "ComponentToControl" property of the LiveLinkComponentController
Add a customization for LiveLinkControllerBase that ensures the Component picker is displayed first in the details panel
Fix the fallout from the deprecation in USDImporter plugin

#jira UE-147579
#rb simon.therriault, daniel.coelho
#preflight 62790eb24561731dbeee939d

[CL 20101534 by Geoffrey Douglas in ue5-main branch]
2022-05-09 09:01:28 -04:00
jeanfrancois dube
b27de8149e World Partition Actor Descriptors
- Now includes full path to the base class to support BP classes (none if from a native class).
- FWorldPartitionHelpers actor descriptors iterator functions now supports BP classes.
- UWorldPartitionResaveActorsBuilder now supports filtering actors by BP classes.
- Scene Ouliner now shows the correct base class for unloaded actors instead of the first native class.

#rb patrick.enfedaque, richard.malo
#preflight 6273b366e95a8b960e43e5d4
#rnx

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 20057885 via CL 20058202 via CL 20058209
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20061192 by jeanfrancois dube in ue5-main branch]
2022-05-05 14:10:10 -04:00
Johan Torp
c33a0ca780 Fix FName debug visualizers on certain clang platforms where the 19725380 fix didn't work
#rb rob.millar,brandon.schaefer
#preflight ok

[CL 20055361 by Johan Torp in ue5-main branch]
2022-05-05 03:18:14 -04:00
patrick enfedaque
e0cdfe314d New Version: LevelInstanceActorGuidSerialize
#preflight 626aa640b17dd9121b3ba8c6
#rb kris.pelley, corey.kolek, sergio.gardeazabal, jeanfrancois.dube

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 20039853 via CL 20040137 via CL 20040154
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20040988 by patrick enfedaque in ue5-main branch]
2022-05-04 09:39:34 -04:00
Marc Audy
f2cecd15c8 Fix typo and failure to copy paste something while doing last minute name tweak
#rnx
#lockdown JeanFrancois.Dube
#preflight

[CL 19988680 by Marc Audy in ue5-main branch]
2022-04-29 20:22:41 -04:00
Marc Audy
d9c630dcd8 Add IsInheritedInstance to exports
#rb Phillip.Kavan
Add missing generate public hash entries to ArchiveStackTrace
#fyi Francis.Hurteau
#preflight 626c692cb046e6ecc338080e
#lockdown JeanFrancois.Dube

[CL 19988606 by Marc Audy in ue5-main branch]
2022-04-29 20:15:15 -04:00
Marc Audy
a8fa02a366 Shrink FObjectExport (144 -> 120): Remove deprecated PackageGUID and Dynamic Type, and properly pack members
#rb Robert.Millar
#lockdown JeanFrancois.Dube
#preflight 626c50940b45792efb69a48c

[CL 19986766 by Marc Audy in ue5-main branch]
2022-04-29 17:38:17 -04:00
Chris Caulfield
ec02986fbe Chaos - joint stabilization
- add Inertia Conditioning system to increase inertia for long, thin, or small objects (enabled by default)
- also considiers joints with connectors outside the shape
- move some particle settings into a bitfield to reduce size
- add FVec3f as shorthand for TVec3-FRealSingle

#rb cedric.caillaud, jaco.vandyk,michael.forot
#jira none
#preflight 626c1f925c220f34acf5e912

[CL 19982249 by Chris Caulfield in ue5-main branch]
2022-04-29 13:53:51 -04:00
cedric caillaud
f2c5b1b18b Chaos : detsruction : better damage threshold generation
- damage threshold are now by default generated per GC piece and no more at the cluster level propagating to children
- added a checkbox to keep the compatibility with older assets
- this allow for finer artist control and make the size specific parameters to be more effective

#rb brice.criswell, max.whitehead
#jira none
#preflight 626a26172735a2c0eaeb68be

[CL 19973874 by cedric caillaud in ue5-main branch]
2022-04-28 20:20:32 -04:00
jamie dale
7627b09605 Split the default state of FGameplayEventDescriptor to a separate non-property allocation
This avoids instances having a copy of the default data (which could be manipulated in the editor), and instead the default state is found via the archetype chain when needed at runtime. This does require that the EventContext type used by BroadcastEvent owns the FGameplayEventDescriptor property being used, and extra validation rules have been added to enforce this.

Note: This split was previously done for FGameplayEventFunction and follows that pattern.

#preflight 626944622735a2c0ea710140
#rb Rex.Hill
#rnx

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 19939730 via CL 19939743 via CL 19939753
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19945626 by jamie dale in ue5-main branch]
2022-04-27 16:06:19 -04:00
Johan Torp
ef8e0c4660 Optimize WITH_CASE_PRESERVING_NAME FName loading
LoadDisplayNames() 1.06s -> 0.24s when async loading the name batch in CachedAssetRegistry.bin during editor startup of an internal project

* Introduce FDisplayNameEntryId to avoid cache misses in FName::GetComparisonIdFromDisplayId() lookups
* Force name batch serialization to use display entry ids to help enforce cooking determinism
* Fix determinism problem when loading then saving via FPackageStoreNameMapBuilder
* Inline FNameEntryId::FromUnstableInt()
* Remove slow IsNumbered() check in CreateFromDisplayId when not using 4B FName
* Remove expensive heap sort by sorting up front instead

#rb rob.millar,matt.peters,pj.kack
#preflight 62664bd06968f18d5137d419

[CL 19899104 by Johan Torp in ue5-main branch]
2022-04-25 03:48:33 -04:00
Jeremy Moore
b58b6a047b Fixup material feature level nodes on PostLoad to deal with unconnected new SM6 pin.
If the node has an SM5 setting but no SM6 setting then copy from SM5 to SM6.
This should help with cases of existing materials not working with SM6.
#preflight 62601998dd47b4ad2170e9ad

[CL 19830855 by Jeremy Moore in ue5-main branch]
2022-04-20 11:11:20 -04:00
max whitehead
4c05443f20 Edigrate 19255298 and 19255737
19255298: Store local inertia tensor/inverse tensor diagonals in vec3 instead of matrix, reducing memory.
19255737: Fix FVector conversion errors after FVector constructor was made explicit.

#rb cedric.caillaud
#preflight 6259bf648851764d9800cacc

#ROBOMERGE-OWNER: max.whitehead
#ROBOMERGE-AUTHOR: max.whitehead
#ROBOMERGE-SOURCE: CL 19777591 via CL 19777763 via CL 19777782
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v939-19570697)

[CL 19803385 by max whitehead in ue5-main branch]
2022-04-19 00:18:23 -04:00
jimmy smith
07434ffdf6 Upgrade SoundWave to use FEditorBulkData data
#rb paul.chipchase maxwell.hayes phil.popp
#jira UE-146869
#preflight 62574862153630bb90e60062

[CL 19748408 by jimmy smith in ue5-main branch]
2022-04-13 19:55:27 -04:00
Jurre deBaare
92b0603487 Forcefully auto set tangents for AnimDataModel on load, this is to ensure any auto-tangents for Key0 and Key1 are set to be flat (which is the new standard for importing/AutoSetTangents()) see UE-98071
#jira none
#rb Alexis.Matte, Mike.Zyracki
#preflight 624c26488f06610224a63cf8

[CL 19622713 by Jurre deBaare in ue5-main branch]
2022-04-05 07:32:56 -04:00
Jurre deBaare
9d311435de Invalid data fix-up for FRichCurveKey::TangentWeightMode
#fix added fix-up behaviour during load - and ensure to track if any more invalid data creeps up afterwards
#rb Alexis.Matte, Mike.Zyracki
#preflight 6246d02eb6084b98325634d9

[CL 19586168 by Jurre deBaare in ue5-main branch]
2022-04-01 06:26:34 -04:00
Jurre deBaare
77fc9c5bce Incorporate element type when generating an FK control - this fixes any overlaps between curve and bone names in target USkeleton
- Added upgrade path for Sequencer control curves on ControlRigParameterSection
#rb Mike.Zyracki, Helge Mathee
#jira none
#preflight 6246c99c73665f7d5e5e3eb7

[CL 19585987 by Jurre deBaare in ue5-main branch]
2022-04-01 06:04:04 -04:00
cesar castro
a15d1515a4 Motion Matching - Moved Pose Search Database Search Index to the DDC using lower level DDC api
#rb aaron.cox
#preflight 6245d735292f228e09048ff1

[CL 19574506 by cesar castro in ue5-main branch]
2022-03-31 12:48:04 -04:00
graham wihlidal
9c8fa1c395 Implemented a GPU Scene API for primitives explicitly enabling/disabling WPO support driven by events. This will be important for disabling WPO overhead in Nanite and other systems when unnecessary. The material system MayModifyMeshPosition hints are insufficient when using an MICD with static params that ultimately disable WPO, but the material system still reports WPO usage. This hint can also be used in new LOD systems to disable expensive features like WPO in the distance, but without doing a full shader switch. Nanite now supports a debug view that shows WPO off (red) and on (green) for meshes in the scene (r.Nanite.Visualize EvaluateWPO).
This change also remaps the original bEvaluateWorldPositionOffset on SMC into bEvaluateWorldPositionOffsetInRayTracing, because this var was only ever driven by ray tracing specific methods. The original bEvaluateWorldPositionOffset is now used by this more generic API.

Lastly, a new cvar (r.OptimizedWPO) has been added that indicates if the hint should be respected or not (default is false, which means WPO is always active, regardless of hint)

#rb rune.stubbe, marc.audy, derek.ehrman
[FYI] brian.karis, jamie.hayes, ola.olsson, andrew.lauritzen, jian.ru
#preflight 6244a8dcdc6183e3f5f8de98

#ROBOMERGE-AUTHOR: graham.wihlidal
#ROBOMERGE-SOURCE: CL 19564957 via CL 19564973 via CL 19564978
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19566743 by graham wihlidal in ue5-main branch]
2022-03-30 19:41:19 -04:00