I’m trying to get environment paths for an editor tool, but calls like
System.Environment.GetFolderPath(System.Environment.SpecialFolder.MyDocuments)) return my home directory instead. I can build the correct one manually, but it just doesn’t feel right that most of the variables are still uselessly unimplemented.
Please file a bug for this issue. If we don’t fix this with the current version of Mono, we will at least ensure it’s working with the latest version we are in process of upgrading to.
I filed a report and got a reply back that this isn’t Unity’s problem. So I guess there won’t ever be any cross-platform APIs for getting document folders (found on both desktop and mobile platforms). Hard-coding all the way it is.