The same thing happened to me. Google Drive began silently deleting any duplicate files it found in any of my directories, leaving just one original. A lot of my projects use the same web framework, hence my projects were all broken. Restoring them via their UI wasn't possible either. I stopped using Drive after that.