world position offset material not working with pathtracing on Niagara static meshes

Anyone have a fix for this? In order to make the staticMesh with WPO(world position offset) material render in Path tracer, you have to manually turn on “Evaluate world position offset in Ray Tracing”. We are using Niagara to spawn staticMesh’s with WPO material, but there is no option to turn to turn this on. Looking online I have found these two console variables,
r.RayTracing.Geometry.InstancedStaticMeshes.EvaluateWPO 1 r.RayTracing.Geometry.StaticMeshes.WPO 1
I have tried switching both of these on but it still doesn’t work.
Are there any other settings we could try? We really need to be able to render this with Path tracing turned on for a cinematic. Thanks for any help :slight_smile: