When you assign to a Landscape a Masked Material, either in the Landscape Material or in the Landscape Hole Material, the landscape will be bugged in Path Tracer; while still working correctly in Lumen.
If you add a Masked Material to the Landscape Material, the entire landscape will be bugged in Path Tracer.
If you add a Masked Material to the Landscape Hole Material, only the part that has the visibility mask will be bugged.
I will attach two screenshots that contain the bug and then a screenshot of each material. You will see that in the middle of the landscape there is a hole, that is created with the visibility mask; but you can see the bug affecting even the non-masked parts around it.
I would like to mention that this problem started with 5.6; in 5.5, this was working correctly.
Please let me know if you need anything else to replicate or fix this issue.
Thank you.