It's basically a new pc and fresh os (windows 11). I tried to change fron the config the path where all the data of the program is stored and it seems that it worked.
For some reason, it was trying to create paths through OneDrive, which I don't use, but I have it completely uninstalled from the PC. It is strange.