unreal save file error

When I change the shading model in the material to singlelayerwater after using the water plugin, the error code appears and the program closes. How can I solve this problem?

Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\RHICore\Private\RHICoreShader.cpp] [Line: 40] Shader requested a global uniform buffer of type ‘VirtualShadowMap’ at static slot ‘[Name: VirtualShadowMapUbSlot, Slot: 5]’, but it was null. The uniform buffer should be bound using RHICmdList.SetStaticUniformBuffers() or passed into an RDG pass using SHADER_PARAMETER_STRUCT_REF() or SHADER_PARAMETER_RDG_UNIFORM_BUFFER().