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

UnityInstallationProblems #170

Closed AndreyZhukov closed 4 years ago

AndreyZhukov commented 4 years ago

First I tried to install on Unity 2018.4.15f1 through adding a package from Package manager and MeshSync did appear on a list of Packages there and also under the Packages in the project, but MeshSync submenu didn't appear in the Game Object menu, neither it did in the Create menu in the scene's hierarchy panel. MeshSync_PackagesManager MeshSync_Project Turned out the problem was in the Unity version.

Then I tried to "install" it by copying MeshSync package into a folder under the "Packages" folder (embedding the package) and changed the package.json under Packages/com.unity.meshsync so there's "unity": "2018", also tried "unity": "2018.4", but none of these two options helped in bringing the MeshSync submenu in the locations described earlier. package_manifest package_location MeshSync_Embedded_Errors

I guess there are some code files missing?

sindharta commented 4 years ago

My bad. It seems that embedding a package is only supported starting from Unity 2019.

Another thing that you can try is just copying the whole MeshSync folder into a folder under Assets.

AndreyZhukov commented 4 years ago

Unfortunately, still doesn't work. Displays similar errors, but more of them: image

Before this step I've had also tried to add the line in manifest.json in the "Packages" folder: image image But that also didn't work.

AndreyZhukov commented 4 years ago

Ok, I tried this: In Unity I imported the MeshSync.unitypackage (old version). MeshSync submenu appeared. image I created the server object. image I opened the http://127.0.0.1:8080/ in Chrome browser image andif i write some message there it is "seen"/"heard" in the Unity Console: image But when i try to export/sync from Maya (2019), I get this error: // Error: MeshSync: Server not available. Version doesn't match server. [127.0.0.1:8080] // image so as if Maya didn't "see" the server (even though Unity has no problem "seeing" it). So I'm wondering now, has server "address" changed in the new version of MeshSync? Wasn't it 127.0.0.1 in the times of .unitypackage? If so, where can I change it for Maya? 🤔

sindharta commented 4 years ago

So I'm wondering now, has server "address" changed in the new version of MeshSync? Wasn't it 127.0.0.1 in the times of .unitypackage? If so, where can I change it for Maya?

No, it hasn't changed. 127.0.0.1 always points to the local computer. What I can think of, is that the MeshSync (Unity) version on your computer does not match the MeshSync plugin version on Maya.

I just tried creating a test project using Unity 2018 with MeshSync, and as you said, there were a lot of compile errors. I removed the functionalities that require Unity 2019, and here is the project: Test2018.4.22_MeshSync.zip

This should work with 0.1.0-preview DCC plugins.

Another alternative if you must use the old unitypackage version, is first to check if you have the latest unitypackage we released and use the legacy DCC plugins.

AndreyZhukov commented 4 years ago

Genius! Thank you so much it works! I opened your test project and it works there with both Blender and Maya (after some rearrangements with the plugin there). I'm so happy it works! :D And excited! Haven't tested the alternative, but I probably will. Ok, time for experiments! :D Thank you! <3

sindharta commented 4 years ago

Glad to hear it :D