WPO flickering black spots

Hello! I’m having a very strange bug happen in 4.26 and 4.27 where flickering black spots will appear sometimes on materials or meshes animated using world position offset. It seems to only happen in specific situations and when the camera is at a certain angle or distance. It seems to also happen only on instanced static meshes.

Anyone have any ideas what might be happening?

Visually it looks a lot like Z-fighting but that’s not it. The strangest part is that the black spots are showing the message for when you have a skydome material not covering the screen.

Here’s an image showing it on a wall of instanced static meshes animated in a pattern using WPO.

346489-wpobug3.gif

I’ve had this issue just the other day. What seems to be happening is that you get float errors on any advanced WPO in UE4. I soled it by multiplying the end result of the WPO to get move the decimal point, then rounded it to cut off any remaining decimals, and finally multiplied it back to the number of decimals that was just enough for the precision I needed.