Maybe you are using "not reuse" option when
dealing with resource, and that might be problem
for deleting current line from resource - instead
it is deleting next resource line.
This is just a guess...
Are you working on a remote server or on a personal PC?
Try moving the profiles folder to another location. Or if you are running the project directly from BAS, try moving BAS to another location. Also, run BAS as administrator.
If possible, please attach a test project with which you can replicate this problem.
I also have this problem but a bit different.
At the start, the folders get deleted and new ones are made. After some time the old ones do not get deleted and fill up the HDD space. I have to stop and restart the app manually.
I moved locations and also run as admin.
Regards