Unfortunately, this situation is not specific to certain projects, and this happens even if I create a new project.
I then asked a few friends and they had also encountered something like this recently. The reason lies in the Real-time protection option of Windows Security. If you turn it off, the problem will be solved.
Strangely, After I reopen it now, it works normally again. It always appears randomly. Maybe I'll look for a while it carefully when I encounter this problem again.