unity3d-jp / MeshSync

A package for synchronizing meshes/models editing in DCC tools into Unity in real time.
Other
1.55k stars 174 forks source link

[MeshSync] Installation error #339

Closed Labelpastek closed 2 years ago

Labelpastek commented 3 years ago

I have this error when I click on "Install plugin" image

[MeshSync] Installation error. ExitCode: 1. OSError: Python file "D:\Duck" could not be opened: No such file or directory The folder name is "Duck Reaction" with space. Maybe the path doesn't recognize space in name.

I tried with MeshSync 0.4.0 and 0.7.0 but it doesn't work. I use Blender 2.90.1 and unity 2020.3.0f1

image

sindharta commented 3 years ago

Thank you for reporting this. I have managed to reproduce this bug.

Like you said, it's because the directory has space in it.

The plugin installation works across multiple Unity projects, so while we are working on the fix, you can create a temporary project in a folder that doesn't have space, and install the plugin using this temporary project.

Labelpastek commented 3 years ago

Thanks for helping, it works!

sindharta commented 3 years ago

The error when installing plugin for Blender via a project that has space in its path has been fixed in 0.7.2-preview

kromar commented 2 years ago

i get this error and my project does not have white spaces in the name. im using untiy 2020 and blender 2.92. and the 0.7.2 preview package image

sindharta commented 2 years ago

Automatic installation for Blender 2.92 isn't supported yet in 0.7.2-preview. Please stay tuned for our next update.

kromar commented 2 years ago

even on blender LTS it wont install, it sits on this installation window for over 5min and im sure it will keep on goin indefinitely image

sindharta commented 2 years ago

Can you let me know:

  1. The full path to Blender application
  2. Your operating system (Windows 10 ?)
  3. MeshSync version. I assume it's 0.7.2-preview ?

Also, can you please try the following and see if it helps ?

  1. Install Blender in the default path (C:\Program Files\Blender Foundation\Blender 2.83)
  2. Restart the computer.
kromar commented 2 years ago
  1. C:\Users\graue\Downloads\blender-2.83.15-windows-x64\blender-2.83.15-stable+blender-v283-release.fd3036520101-windows.amd64-release
  2. windows 10
  3. 0.7.2-preview (unity 2020.3.4f1)

for the other request, i never use the installation since that messes up the registry and i assume many people do the same. So i can not install it but only move it there for a test. so if you rely on any registry entries that will fail. I usually register my version with the command line arguments -r/-R https://docs.blender.org/manual/en/latest/advanced/command_line/arguments.html

Results: When blender is in that "default folder" the auto detect is working but installation is still not progressing. I get the same problem that a blender command window opens, and the unity progress bar just stays forever.

image

sindharta commented 2 years ago

Hm, if you can't install it even if Blender is installed in the default location, then the best thing I can do in the next version would be to give better error messages. Let me reopen this issue.

Just in case, are you behind any firewall, etc ? Because the installation process downloads MeshSyncDCCPlugin package underneath.

kromar commented 2 years ago

the MeshSyncDCCPlugin seemed to download fine since i extracted the addon from there to get it running so i assume that should not be a issue. Let me know when you get something to test so i can help getting this resolved.

sindharta commented 2 years ago

We have just released MeshSync@0.8.0-preview and we have put more detailed error messages there. Please try it, and let us know what errors you have, if you still have it.

sindharta-tanuwijaya commented 2 years ago

Closing this issue for now. Feel free to reopen this issue, or create a new one if necessary.