only part of a readprocessmemory or writeprocessmemory request was completed

When I build and run my unity project I get the following error message:
“path/to/project.exe”

only part of a readprocessmemory or writeprocessmemory request was completed

and I can’t actually run my project. Please help!
108404-err.png

So apparently if you build to an external drive this happens. I changed the build location to my desktop and it worked without flaw. I’m not sure if this is some kind of bug but I’m just glad I figured this out