The game sometimes fails to finalize the save file if you "Quit to XMB" or "Alt+F4" while the background auto-save icon is active or just after it finishes.
Do not pull the plug or force quit while the automated saving icon is active on screen. amazing spider man save file damaged
The game auto-saves frequently. Disable auto-save manually before: The game sometimes fails to finalize the save
Check your cloud storage settings. Uploaded saves are often 24 hours behind, which could save your progress. amazing spider man save file damaged
Corrupted system files can trick the console into thinking a save file is damaged. Turn off your console completely.
Sometimes, the save isn't actually damaged—the console just thinks it is due to a cache error.