Able to install CC4 Unity Plugin on one computer but not the other


https://forum.reallusion.com/Topic545186.aspx
Print Topic | Close Window

By music_20140911111126304 - 2 Years Ago
I'm working on my Unity project on both my desktop (PC), as well as my laptop (Mac), using Unity 2021.3.20f1 and CC4.31.2001.1. I had the CC4 auto Unity plugin working on my PC previously, but my game files got corrupted by another task and I had to revert to a backup prior to setting up the plugin. Now the plugin only works on my Mac (which is ironic, since CC4 is PC only, lol), and when I try to set it up on my PC I get the following console error in Unity:



I thought maybe it was a Dropbox issue, so I moved the cc_unity_tools_URP folder off of Dropbox and onto my main drive, but I got the same results. I also tried removing the plugin from the Mac laptop and setting it back up on the PC, but that didn't make any difference, so I'm not sure why it's working on one and not the other. Any advice would be greatly appreciated!
By Victor.Soupday - 2 Years Ago
Try getting a fresh copy of the package? The crash may have corrupted that too.
By music_20140911111126304 - Last Year
I just tried installing the latest version of the plug-in in Unity (1.61), and am still getting the same issue. It shows this error in the Package manager: https://forum.reallusion.com/uploads/images/dbac8b2c-a534-441a-a664-6be2.png

And this error when I try to open the project on my PC:
https://forum.reallusion.com/uploads/images/a3658031-a207-481a-9940-b23d.png

It's still working fine on my Mac, and my collaborator isn't experiencing any issues on his end still, so not sure what's going on with my PC.
By music_20140911111126304 - Last Year
(PS - sorry for the delay in reply, for some reason I didn't receive an e-mail notification of your reply, even though I'm sure I subscribed to the thread when I initially posted, and I have been focusing on a different project that isn't using CC4.)
By Victor.Soupday - Last Year
It's telling you to need to manually correct the path to the Unity Tools package folder in your Unity project's package manifest file: "D:\Dropbox\Writing\Strings\Unity Build\Strings-4\Packages\manifest.json"

Which should look like:

{
  "dependencies": {
    "com.soupday.cc3_unity_tools": "file:F:/path/to/package/folder",

By music_20140911111126304 - Last Year
Mmkay, I found the manifest file and altered it by copy/pasting the path directory from the finder window:






But that resulted in this message:



I gather from that message that there's something wrong with the "D" drive designation, so I've tried a few different variations (lowercase/uppercase, adding a forward/back slash before the "D:", etc.), but each attempt resulted in a similar variation of the same error message.

Also, does this mean I need to alter the manifest file each time I switch from my desktop to my laptop, since my Dropbox folder is in a different drive on each computer? Or is there a way to indicate in the JSON file to look for either location?
By Victor.Soupday - Last Year
Oh, it seems it wants either forward slashes D:/Path/Something or double back slashes D:\\Path\\Something for paths.

So it's complaining about the first D in \Dropbox, not the drive letter.

I don't know of any way to specify multiple paths in the manifests.
By music_20140911111126304 - Last Year
Okay, that seems to have done it, thank you! I guess I'll just modify the manifest file when I switch from one computer to the other. Thank you!
By music_20140911111126304 - Last Year
Now that we've got that fixed, there is another issue I've been trying to figure out my way around with the import plugin, but haven't had much luck, so hoping you might be able to point me in the right direction.
From the import preview window, my character model looks great:


But when I add the prefab into the actual game, this is what comes out:


The skin and clothes came out fine, but for some reason his hair and beard are all black and VERY pixelated. Any ideas what may have caused that, or should I bring this to the general forums?

By music_20140911111126304 - Last Year
Now that we've got that fixed, there is another issue I've been trying to figure out my way around with the import plugin, but haven't had much luck, so hoping you might be able to point me in the right direction.
From the import preview window, my character model looks great:


But when I add the prefab into the actual game, this is what comes out:


The skin and clothes came out fine, but for some reason his hair and beard are all black and VERY pixelated. Any ideas what may have caused that, or should I bring this to the general forums?

By music_20140911111126304 - Last Year
Sorry for the duplicate posting...not sure why that happened.