UE Keeps deleting materials

If the materials are still there, but showing blank, could be the shader cache.

Try deleting the shader cache and it should rebuild next time you reload the project (warning might take a while depending how many projects and materials etc etc.)

Worth a try!