Can't build a branch (SOLVED)

Hello,
Today I tried to build my project and it keeps showing this error:

Errors occurred during the build.
Errors running builder ‘Content Builder’ on project ‘myproject’.
Build failed: java.io.FileNotFoundException: path to my branch (permission denied)

It happened right after I deleted a collection that I wasn’t using.

I tried to rebuild, restart Defold, restart the computer and nothing. It only happens with this branch, the others and the other projects work fine.

I don’t know if it’s useful but I’m running Windows 10.

Did you try a full Rebuild? Are you sure the collection wasn’t referred to by something that still exists (maybe a collection factory or another collection)?

I finally solved the problem. The collection was referred to another collection that I had but I didn’t use.

Excellent! (the error message should be improved though)