Audacity corrupting files

For the past 3-4 weeks, almost every time I record a project, Audacity acts crazy in the middle of editing and starts refusing to save files and saying they’re corrupted. Then I have to restart my computer for it to reopen them and then it does the whole process over again.

What is the fix?

Where is the project? Are you doing everything on the local drive? Audacity hates editing on internet-connected drives.

Koz

The projects have mostly been stored on my portable SSD portable with USB C connection. I then tried saving a few to the internal drive and still same problem.