Distant Field GI enabled + mesh with material including "DistanceToNearestSurface" node crashes the engine // (Assertion failed: UniformBufferRHI.GetReference() [Line: 84]

Hey there,

in our project, we use a water shader which utilizes the “DistanceToNearestSurface” material node for shore detection.
Now, on the other hand we also have the Light Propagation Volume enabled to be able to use the dynamic distance field Global Illumination.

Both is essential for the project and each feature works super awesomely on it’s own, but as soon as both is enabled in a level at the same time, the engine crashes spitting out this error:
Assertion failed: UniformBufferRHI.GetReference() [Line: 84]

I can for sure say that it’s in correlation with the “DistanceToNearestSurface” node, because as soon as I remove it, it works again.

P.S. We have an older project running with UE 4.15 in which it doesn’t crash as a result. Could it be anything in the project settings? Is it just the engine version? Or something else?

Would be so great if anybody has a clue.

Cheers,

Paul