I am wondering if this is a bug or working as intended. Both images are the same tree, with the same setup, the only difference being one is 4.23 and one is 4.22 engine version.
The one that shows low shader complexity is 4.23. The other is in 4.22 and what I expect to see with masked materials, that being overdraw is clearly visualized.
This problem seems to just get worse in 4.24. I am using the lastest 4.24.2. Now you have to wait a bit for the editor to rebuild some shaders every time when setting the view mode to Shader Complexity, Shader Complexity with Quads, or Quad Overdraw. The results are just like what **vanlacke **reported. Packaged games with debug view modes enabled would crash when enabling Shader Complexity view mode.