Description

Currently when we load a Material Instance that overrides some texture parameter of its parent, we also load all the overridden textures of the parent.

This is quite wasteful, as those textures will never be used. We need to change the loading logic to skip loading texture parameters that have been overridden.

UDN reporting it [Link Removed]

Steps to Reproduce
  • Create a new material
  • Inside the material, create TextureSampleParameter2D node and assign it to some texture.
  • Save and close.
  • Create a material instance off the former material.
  • Override the texture parameter and set it to some other texture, and save.

Notice that when loading the material instance, the parent material parameter texture is also loaded even if this is unnecessary.

Note: you could visualize the Material Instance asset in the Reference Viewer to notice the old texture still being referenced.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-221871 in the post.

0
Login to Vote

Backlogged
CreatedAug 15, 2024
UpdatedAug 27, 2024
View Jira Issue