48 Commits

Author SHA1 Message Date
jordi rovira
445183bccc [mutable] Fix crash with the use of passthrough components.
- Make sure the component name is added.
- Make sure some LODs exist.
- Initialize internal skeleton array with the instance components count and not the object component count.
- Add some defensive early outs in case of other internal problems.
#jira UE-227958
#rnx
[REVIEW] [at]gerard.martin, [at]alexei.lebedev
#rb alexei.lebedev

[CL 37267473 by jordi rovira in 5.5 branch]
2024-10-18 11:22:30 -04:00
genis sole
27323cd39c [Mutable] Disable access to the DDC when cooking CO assets by default.
- mutable.DerivedDataCacheUsage set to 0 by default.
- Issues related to how data is stored to the ddc could be related to clothing mesh to mesh attachment data not being correct.

#rb pere.rifa
#rnx

[CL 37263551 by genis sole in 5.5 branch]
2024-10-18 09:50:53 -04:00
gerard martin
6a6698e061 [Mutable] Made USkeletalMesh::ReleaseResources optional.
In some scenarios was causing GameThread spikes. Disabled by default.

#jira UE-227797
#rb pere.rifa
[FYI] [at]alexei.lebedev
#rnx

[CL 37227449 by gerard martin in 5.5 branch]
2024-10-17 11:10:21 -04:00
gerard martin
42e2e29ddb [Mutable] Changed Mutable Tasks to Background priority.
#jira UE-227706
[REVIEW] [at]genis.sole
#rnx
#rb genis.sole

[CL 37225640 by gerard martin in 5.5 branch]
2024-10-17 10:08:53 -04:00
jordi rovira
edaf165caa [mutable] Fix handling of instances that add and remove components based on parameters.
- Move Actor ownership to the preview widget.
- Preview actor now only has the components that are actually created, and maintains them.
- Fix misleading comment in GetNumComponents method.
- Remove some unused generation data.
#jira UE-226733
[REVIEW] [at]gerard.martin
#rnx
#rb gerard.martin

[CL 37048358 by jordi rovira in 5.5 branch]
2024-10-11 09:36:03 -04:00
gerard martin
475975212c [Mutable] Fixed SurfaceMetadata not being serialied in FModelResources.
[REVIEW] [at]genis.sole
#rnx
#rb genis.sole, pere.rifa

[CL 37021453 by gerard martin in 5.5 branch]
2024-10-10 11:20:51 -04:00
Marc Audy
5d2f38437f Fix and silence new PVS 7.33 warnings
#jira none
#rb marc.audy

[CL 37002187 by Marc Audy in 5.5 branch]
2024-10-09 17:43:04 -04:00
pere rifa
4e4ed16921 [Mutable] Fix component index pointing to the wrong component data due to nodes being processed in a different order between FirstPass and SecondPass.
#rnx
#rb gerard.martin

[CL 36784210 by pere rifa in 5.5 branch]
2024-10-02 09:28:40 -04:00
gerard martin
7ab687fc98 [Mutable] Fix UCustomizableSkeletalComponent not working properly in PIE.
#jira UE-226154
[REVIEW] [at]pere.rifa, [at]alexei.lebedev
#tests PIE, Editing Level
#rnx
#rb alexei.lebedev, pere.rifa

[CL 36765747 by gerard martin in 5.5 branch]
2024-10-01 20:58:01 -04:00
alexei lebedev
bc479c2bde [mutable] Fixed texture streaming taking 5 seconds because now mesh components have to be explicitely notified of any texture changes to them.
#jira UE-225328
#rb pere.rifa
#rnx
#tests Editor

[CL 36765516 by alexei lebedev in 5.5 branch]
2024-10-01 20:54:38 -04:00
pere rifa
c2523ecf9b [Mutable] Fix cooked data indeterminism due to streamed resources disappearing. FCustomizableObjectCookPackageSplitter was looking for streamed resources at the wrong place.
#jira UE-226012
#rnx
#rb gerard.martin

[CL 36764927 by pere rifa in 5.5 branch]
2024-10-01 20:47:22 -04:00
gerard martin
724afd4709 [Backout] - CL36622088
[FYI] gerard.martin
Original CL Desc
-----------------------------------------------------------------
[Mutable] Fix UCustomizableSkeletalComponent not working properly in PIE.

[REVIEW] [at]pere.rifa, [at]halfdan.ingvarsson
#rb pere.rifa

[CL 36761368 by gerard martin in 5.5 branch]
2024-10-01 20:06:22 -04:00
gerard martin
018feab27d [Mutable] Fix UCustomizableSkeletalComponent not working properly in PIE.
[REVIEW] [at]pere.rifa, [at]halfdan.ingvarsson
#rb pere.rifa

[CL 36760916 by gerard martin in 5.5 branch]
2024-10-01 20:01:17 -04:00
genis sole
1584a3c148 [Mutable] Fix streaming validation failure with index buffers setting the buffer meatadata.
- The created buffer will be a 0 sized buffer with no RHI resource. This is a valid option for streaming.
- Added experimental caption to mesh streaming enable cvars.

#jira UE-216311
#rnx
#rb pere.rifa

[CL 36760833 by genis sole in 5.5 branch]
2024-10-01 20:00:27 -04:00
pere rifa
9abc648034 [Mutable] Enable the use of FByteBulkData on cooked builds by default.
#rnx
#rb alexei.lebedev, eric.knapik

[CL 36760827 by pere rifa in 5.5 branch]
2024-10-01 20:00:22 -04:00
pere rifa
f2ff6bd94d [Mutable] Add missing FFileCategoryID constructors.
#rnx

[CL 36760790 by pere rifa in 5.5 branch]
2024-10-01 20:00:02 -04:00
gerard martin
b5b8448d82 [Mutable] Fix Modifiers and Group Projector nodes not compiling correctly with multiple components.
- Fixed Mesh Component nodes being compiled even if they were not connected.
- Removed unused ParameterNamesMap/AddParameterNameUnique.

#jira UE-225021, UE-223540, UE-206803
[REVIEW] [at]jordi.rovira
#rnx
#rb jordi.rovira

[CL 36760749 by gerard martin in 5.5 branch]
2024-10-01 19:59:45 -04:00
pere rifa
aecc554b19 [Mutable] Store compiled resources in multiple bulk data files. Resources will be grouped into categories (meshes, images, high-res images, morphs, and clothing).
Add function to generate up to 'n' BulkData files.
Optimize DDC data distribution to improve put/get times.
Fix SourceId indeterminism due to FNames.

#jira UE-223083
#rnx
#rb gerard.martin

[CL 36760692 by pere rifa in 5.5 branch]
2024-10-01 19:59:14 -04:00
pere rifa
620e3484d2 [Mutable] Empty ranged parameter values when setting the default values.
#jira UE-225278
#rnx
#rb gerard.martin

[CL 36760638 by pere rifa in 5.5 branch]
2024-10-01 19:58:40 -04:00
genis sole
10de3dc962 [Mutable] Set mutable generated mesh PhysicsAsset preview mesh only if the PhysicsAsset has also been generated.
- In case the PhysicsAsset does not need modification the referenced asset will be used, in that case the preview mesh is not changed.

#rb pere.rifa
#rnx

[CL 36760591 by genis sole in 5.5 branch]
2024-10-01 19:58:15 -04:00
halfdan ingvarsson
35bd466da9 Mutable: Fix component's private instance storage and usage
- Remove the vestigial instance usage storage on the component.
- Fix Private members on CustomizablebjectInstance and CustomizableSkeletalComponent, since CreateDefaultSubObject doesn't do what is expected here.

#rnx
#rb gerard.martin

[CL 36759604 by halfdan ingvarsson in 5.5 branch]
2024-10-01 19:50:01 -04:00
genis sole
e8ab8ad5b5 [Mutable] Allow to extend from mesh section without a mesh connected.
- Surface metadata will be the first found if the main surface does not have a mesh.

#rb jordi.rovira
#rnx

[CL 36757185 by genis sole in 5.5 branch]
2024-10-01 19:27:30 -04:00
halfdan ingvarsson
e1d8e01fc3 Mutable: Add a modifier to transform vertices contained within another mesh.
#jira UE-225386, UE-225387
#rb alexei.lebedev, gerard.martin, jordi.rovira

[CL 36755590 by halfdan ingvarsson in 5.5 branch]
2024-10-01 19:09:05 -04:00
gerard martin
79bc416f04 [Mutable] Exposed EditorGameplayTags to Blueprints.
[REVIEW] [at]pere.rifa
[FYI] [at]marc.bernatallada
#rnx
#rb pere.rifa

[CL 36753954 by gerard martin in 5.5 branch]
2024-10-01 18:55:20 -04:00
gerard martin
909f125cf9 [Mutable] Removed temporal public functions in UCustomizableSkeletalComponent and UCustomizableInstanceUsage.
Those were kept to avoid breaking internal CI. Not that all usages are removed, we can safely remove them.

#jira UE-209169
#rnx

[CL 36750172 by gerard martin in 5.5 branch]
2024-10-01 18:11:16 -04:00