Hi @GoToLoop, thank you for engaging and for your time testing it. I was wondering, does it matter where you have Processing installed, and where you have your sketches saved?
Does your example also returns the correct path when running from Processing (before exporting)?
In my computer Processing is installed (=unzipped) at C:\processing-3.3.7, which is the path returned by sketchPath. My sketches are not under that path, they are at e.g. c:\Github\RepositoryName\SketchName
If you someone is interested, here is the source code for sketchPath. I didn’t find anything…