Description

Removing texture parameter from parent material doesn't remove material Instance references to the default texture.

Steps to Reproduce
  1. Create a new material that references a texture with a texture sample paramater
    • [Link Removed]
  2. Make an instance from that material
    • [Link Removed]
  3. Checking the referenced assets for the texture in the reference viewer should give a view like this:
    • [Link Removed]
  4. Delete the Texture Sample Parameter in the original Material and save it
    • [Link Removed]
  5. Notice that the instance parameter for the texture is no longer in the material instance
    • [Link Removed]
  6. But in the reference viewer, the reference from the material instance to the texture still remains
    • [Link Removed]
  7. Apply the Material instance to something in the level, and save the level. Select File > Cook content for Windows to cook the game data
  8. Inspect the project's Saved\Cooked\WindowsNoEditor\ directory and observe that the texture is included in the cook, even though it is no longer used.
  9. Even after restarting the editor, the reference remains

Have Comments or More Details?

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

0
Login to Vote

Won't Fix
ComponentUE - Graphics Features
Affects Versions4.16.3
CreatedAug 23, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021