Gradle IntelliJ Platform Plugin won't runIde when working from Drive other than C:


I work from an external SSD on my PC, in my G: drive where I keep my IntelliJ Projects.

When creating a new Plugin project (New Project -> Gradle -> Java + IntelliJ Platform Plugin) it creates a default template project.

I can run the Ide once, but once I close it I can never run the plugin again. Trying to do so gives this error:

A problem was found with the configuration of task ':runIde' (type 'RunIdeTask').
- In plugin 'org.jetbrains.intellij' type 'org.jetbrains.intellij.tasks.RunIdeTask' property 'pluginsDir' specifies directory 'G:\Work\test1\build\idea-sandbox\plugins' which doesn't exist.


Checking the error the specified folder is indeed missing. I cannot figure out how to put it back, via rebuilds, invalidating caches, etc.

Creating the exact same project anywhere on my C: Drive has no issues and works fine.

What could be the problem here? I've been working in IntelliJ from my G: drive for over a year now with no issues. Thanks in advance for any insight