Please see THIS VIDEO LINK for a demonstration of the issues, which are also described below:
https://youtu.be/OyJt2FcRt6g?si=jlntFKL6g4Y1RbBX
I have attached a self-contained copy of the project set up to demonstrate the issues
This bug report is specifically related to the Material Layers feature (Documentation here: https://dev.epicgames.com/documentation/unreal-engine/using-material-layers-in-unreal-engine?lang=en-US ).
Our studio (Cyan Worlds, Inc.) has for years used a custom-modified version of the engine, and ran into a slew of issues surrounding the Material Layers features. We made custom changes to fix up the problems, and found success doing so, for the most part (and shipped multiple titles using those “fixed” custom builds). The problem is now that we are in the process of trying to switch to more “vanilla” versions of the latest Unreal Engine releases, both to get better support for new UE features, but also to not have to continue merging large, complicated custom changes across many versions, where the integrations get increasingly difficult as the core engine changes more.
So this bug report is an effort to see if we can get some official Epic support, and maybe arrive at a solution that could be useful to the community at large.
Steps to Reproduce:
- Set up a basic hierarchy of materials that use the Material Layers system
- Add or remove a layer to the parent material. Note that changes to the layer stack do not immediately or correctly propagate to the child materials until those until each child material is manually “kicked”.
- Quite often, the editor will simply crash when kicking/updating those child materials (this seems somewhat dependent on whether the child material’s MaterialEditor tab was currently open in the editor when the parent material was updated… It seems more likely to crash if the child mat’s panel was also open)
- Note that rearranging the Material Layers does not function at all.
- Note that toggling visibility of a layer on a parent never propagates to children
MatLayersDebug57.zip(10.7 MB)