I have this problem, too. It seems to have overwritten even files that were not edited, but were open in the IDE. If there is no way to recover these files, I'll have lost literally months of work.
R version 4.2.0 (2022-04-22 ucrt) -- "Vigorous Calisthenics"
RStudio 2021.09.2 Build 382 "Ghost Orchid" Release (fc9e2179, 2022-01-04) for Windows