Whenever I try to replace a faulty/corrupted project file with a new one, it always says "Unable to read CommonEvents.json"
Is there anything I can do?
That means your Common Events file is corrupt. Replacing the project file will not help this.
What happened?
I managed to fix the problem!
I went to the folder 'data' checked if a file is corrupt/empty or not, and replaced every single empty file, each with new ones from a new project.
UPDATE: TURNS OUT, DOING THAT MEANS YOU WILL LOSE ALL OF YOUR COMMON EVENTS. INSTEAD, BACK UP THE FILES BEFORE CORRUPTION AND REPLACE THE CORRUPTED FILES WITH THE BACKUP FILES.
That means you've lost all your common events. How much work had you done?
Worse, it means if you HAVE done work, you will now have some files that refer to things that no longer exist because they WERE in those files but you've replaced them, and either not recreated the same things, or created them but in different slots.
If you're going to do that, you may as well just start a completely new project. That way you're not assuming something is working, only to find later that it doesn't, and have to figure out that it's because of this.