Wooglie question!

Hi! I have a question about upload on Wooglie. When i upload the description and images, i have no problems, but when i will start the upload, that comes this message:

ArgumentException: Path is empty
System.IO.Directory.CreateDirectory (System.String path)
WooglieEditor.EnsureFolders (System.String path) (at Assets/WooglieAPI/Editor/WooglieEditor.cs:861)
WooglieEditor.TMPFolder () (at Assets/WooglieAPI/Editor/WooglieEditor.cs:844)
WooglieEditor.StartBuild () (at Assets/WooglieAPI/Editor/WooglieEditor.cs:929)
WooglieEditor.Publish () (at Assets/WooglieAPI/Editor/WooglieEditor.cs:901)
WooglieEditor.EditGameGUI () (at Assets/WooglieAPI/Editor/WooglieEditor.cs:631)
WooglieEditor.LoggedInGUI () (at Assets/WooglieAPI/Editor/WooglieEditor.cs:298)

I work with the free Unity3D version. The Wooglie API is in the Assets Folder. The wooglie script is in the first scene include but i can`t upload. Any ideas?

Thanks, Train

ok i found the problem…

Care to explain what it is for the next person?

Sorry for the trouble, we have already addressed the bug but are waiting for the update to be pushed live on the asset store.

To fix it, edit WooglieEditor.cs, one line needs to be added to the EnsureFolders method:

public static void EnsureFolders(string path)
    {
        path = path.Replace('\\', '/');
        string[] folders = path.Split('/');
        for (int i = 0; i < folders.Length - 1; i++)
        {
            string currentpath = folders[i];
            if (i > 0)
            {
                for (int j = i - 1; j >= 0; j--)
                    currentpath = folders[j] + '/' + currentpath;
            }
            if (currentpath == "") continue;
            if (!Directory.Exists(currentpath))
            {
                Directory.CreateDirectory(currentpath);
            }
        }
    }

The API has been updated and is currently bug free as far as I know.

Download:
http://u3d.as/content/m2h/wooglie-api/2iP