The final solution that Figma support sent me is the only one that worked and is the simplest. I don’t understand why it took them a month and a half to send me this command but better late than never.
" In the files where this issue is occurring, can you try the following steps:
- Select all layers
- Launch quick commands (cmd /)
- Search for and apply the option “Repair selected instances”
"