sketchfab / unity-plugin

291 stars 39 forks source link

Error on import when filename ends with dot #19

Open Romaleks360 opened 1 year ago

Romaleks360 commented 1 year ago

I wanted to import a model named Facial_Rig_test.. As you see, it has a dot in the end. In Windows, you can't have a folder ending with dot, so the import process is stuck and spams the following error: DirectoryNotFoundException: Could not find a part of the path 'C:\Projects\Test\Assets\Import\Facial_Rig_test.\license.txt'.

There may be other issues with some special characters that are not allowed to be on the path.