Missing instruction count

In 5.6, the summary of the material info, instruction count, etc was removed, the platform stats I enabled and disabled features of the instance, and the number doesn’t seem to reflect any change I made. That was quite helpful information… Is there any other way to check it?

Hey there! With the move to the Platform Stats panel for Material Instances in 5.6, I’m seeing changes in instruction counts when I toggle things like static switch parameters and material property overrides. Could you maybe record a video of the issue you’re seeing? Is it isolated to a specific material, or is this pretty broad?

This one in particular, I used to see the instructions change every time a checkbox was enabled or disabled.

Fascinating! Is it specifically with material layers? What happens if you change a global static switch parameter?

I was able to reproduce the issue locally in both 5.6 and 5.7 preview, so I’ve filed a bug report which should be visible publicly in the next few days: Unreal Engine Issues and Bug Tracker (UE\-348782\).

For what it’s worth, if you close and reopen the material instance editor window it does seem to properly update the instruction count.

Indeed, when I change a property from the detail panel, it does recompile and show correct values.