Saving project error deletes all asset files on local drive

hi I’m not sure if this is a bug or my end but when I save my project on my pc with a long file name and go to save it sometimes has an error that the project can’t save to location on my drive but it also deletes all the asset files associated with the project from the folder on my drive?