Opacity Clip value broken in 5.4.1 on nanite meshes.

Opacity Clip value broken in 5.4.1 on nanite meshes. I use a material to create a box that is invisible to mask out parts of the mesh. It works fine from far distance but as you approach closer the nanite mesh parts randomly get revealed.

It used to work fine and stay invisible…

Hi! This look like something that was fixed in https://github.com/EpicGames/UnrealEngine/commit/53e0e97e5ecb4e820b24f0b441cafba99220c485

It should be easy to apply that fix and restart the editor and simply wait for shaders to recompile.

// Kevin

1 Like

Hi !
I was having a similar issue and manually applying this fix solved it. Why wasn’t it pushed to 5.4.2 ?
Thanks !
Greg

Hi @Kev.EG I was wondering if this requires rebuilding the engine from code? I have been experiencing this issue in 5.4.3 and tried just replacing this file in the engine folder but it crashes the engine immediately unfortunately

Hi! For hotfixes, we have a strict policy for how many shaders can be invalidated. This change does a very wide shader invalidation.

Hi! You don’t need to rebuild the engine code, but you would need to recook your game to make this work in a client build. In the editor it should just work as you pick this up. Try integrating only the specific lines of code from the fix rather than replacing the entire file.