Closed AndreyZhukov closed 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.
Unfortunately, still doesn't work. Displays similar errors, but more of them:
Before this step I've had also tried to add the line in manifest.json in the "Packages" folder: But that also didn't work.
Ok, I tried this: In Unity I imported the MeshSync.unitypackage (old version). MeshSync submenu appeared. I created the server object. I opened the http://127.0.0.1:8080/ in Chrome browser andif i write some message there it is "seen"/"heard" in the Unity Console: 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] // 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? 🤔
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.
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
Glad to hear it :D
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. 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.
I guess there are some code files missing?