Unreal 4.26 Ocean Foam

I tried using this method. The foam and ripple works in 4.26.1, but when I try to build the project into an .exe file, I get an error and it fails to build. (UATHelper: Packaging (Windows (64-bit)): ERROR: System.ArgumentException: an item with the same key has already been added.) I figured its because Unreal finds that there is both the 4.26.1 water plugin and the imported water plugin. So I temporary deleted the 4.26.1 water plugin from the plugin folder and built it again. It was able to be successfully built, but when I open the .exe file, the water is gone. Does anyone happen to have a solution for this?