Trying to upload avatars with the newest SDK, but pressing the Build & Publish button does nothing. It just greys out the SDK.
I do get a couple of errors:
InvalidCastException: Specified cast is not valid.
NullReferenceException: Object reference not set to an instance of an object
Really at my wit’s end, I can’t get this to work with any avatar.
Yep, I’ve tried restarting the editor. The button still doesn’t work no matter how many times I restart the editor/reload the SDK. It used to work with older versions of the SDK but now those are deprecated so I can’t use them.
Here are the alerts, though I don’t think they matter as it happens no matter which avatar I am trying to upload.
You could try making a new scene with the character in it, and with a new Blueprint ID component added (removing the old one).
There’s also an option in the SDK menu at the top of Unity to “Reload SDK” that might help.
Can also try closing Unity, deleting the “Library” folder from the project and then opening it. This will clean up some potentially corrupt references by rebuilding that cached data.
Given the complexity of this avatar, it could be using an outdated thirdparty component that isn’t compatible with the new SDK. Identifying what component might be the issue could take some trial and error of removing certain third-party components and seeing if it uploads then.
Also, have you followed the instructions on the store page for that avatar in the exact order?
Poi Toon/Pro (i used poi pro 7.3.50 UpTo 9.3.7)
*
Create new project within the VCC—> Import VRCFury —> Import VRCFT —> Import Audio Link —> Import Poiyomi —> Import Avatar Package —> Upload!!!*
I’ve done all of this, and i’ve done a complete clean install of VCC and Unity to no avail.
This happens with any avatar I try it with, including the test robot avatar built into the SDK. The build and publish button just doesn’t want to work. The Build and Test button will, though.
Could be a network connectivity issue then, do you have an antivirus other than Windows Defender? It could be thinking the upload is a malicious behavior.
Also, open Windows Defender Firewall, click Advanced Settings on the left and see if any Unity editor entries are set to Block instead of Allow.
Could try Uninstaller VCC/Unity and then also deleting the folders: C:\Users\YOUR_USERNAME\AppData\LocalLow\VRChat\CreatorCompanion C:\Users\YOUR_USERNAME\AppData\Local\VRChatCreatorCompanion
I only use Windows Defender. There were blocked Unity entries that I have now unblocked. I reinstalled after deleting all of those folders. There are no warnings or errors regarding Unity in Windows Event Viewer.
I’m still encountering the same problem.
There is one thing I think may be related in Event Viewer which is marked as information and says:
Delete URL group 0xFE00000920000001. Status 0x0. Process Id 0x78D8 Executable path \Device\HarddiskVolume3\Program Files (x86)\VRChat Creator Companion\CreatorCompanion.exe,
It’s weird how old versions like 3.7.6 worked fine but the newer versions of the SDK refuse to work for me.
This has been solved!
I was receiving an error that had to due with proxy settings, so I disabled “Automatically Detect Settings” in Settings > Network and Internet > Proxy.