Avatar SDK 3.9.0 - "Thumbnail Not Attached" upload failure
tracked
Kudalyn
Tried uploading an avatar with the latest SDK version - it'd fail at the last second, claiming there's no thumbnail when there IS one set for sure (tried with multiple kinds + in-scene capture). But the avatar could be seen as uploaded on the VRC website, but not in game... and when the 'change to avatar' button was clicked, it'd claim there's no avatar there.
I rolled my SDK back to 3.8.2 and it uploaded just fine.
Log In
White Lotuz
Merged in a post:
Avatar Upload not detecting already uploaded thumbnail
valenvrc
This is a weird edge case, but here are the steps to reproduce:
- Fill all the avatar information including the thumbnail picture.
- Error happens that prevents avatar upload, but an avatar record is created (in my case, the avatar was above the memory limit).
- Avatar name and description are still there but picture is not.
- Change picture and hit the blue save button on the top.
- Picture gets saved.
- Fix avatar issue and try to upload.
- Get "Thumbnail image is required for avatar creation error".
On the content manager tab the avatar record is present with its name and picture, and the picture also displays on the builder tab. Selecting a new picture doesnt fix the issue and it is needed to clear the avatar id and start over.
I feel some check should be added, In my opinion what makes more sense its not create the avatar record at all if the avatar upload fails.
White Lotuz
Merged in a post:
[Avatar SDK 3.9.0] Thumbnail were not cropped when creating new avatar, which caused upload failure
Not Cat
anatawa12
I encountered the issue before and I investigated it for writing new canny, but I found this canny so I'm submitting additional information as comment here. (splitted to three due to limits)
Consistent Steps to Reproduce
With these steps below, users can consistently reproduce the issue.
In real-world cases, this issue can also be reproduced by the Unity Editor crash during the build process.
- Prepare some new avatar with no blueprintId set, and enter the new avatar information including thumbnail in the VRChat SDK control panel.
- Click "Build & Upload" button to initiate the upload process.
- When the VRChat SDK asks for "Copyright ownership agreement", click "x" to close and terminate the upload process.
- Re-assign the thumbnail image in the VRChat SDK control panel.
- The VRChat SDK shows "Save Changes" button at the top of the control panel. Click it to save the changes.
- Re-initiate the upload process by clicking "Build & Upload" button again.
- Click "OK" on the "Copyright ownership agreement" dialog to proceed with the upload.
anatawa12
Detailed Description of the Issue
As I investigated this issue, I found that this consists of multiple possible bugs.
- Possible Bug 1: When the upload process is terminated by closing the "Copyright ownership agreement" dialog in VRCSdkControlPanelAvatarBuilder.BuildAndUpload, the VRChat SDK forgets to delete avatar record created withVRCApi.CreateAvatarRecord, withVRCApi.DeleteAvatar.
This is a bug in implementation of the
BuildAndUpload
and should be fixed I think.however, situation occurs by this bug can easily happen with VRChat SDK Public API usages without
BuildAndUpload
, or possibly happen when the Unity Editor crashes during the build / upload process, so even when this bug is fixed, the other bugs below should be fixed as well to avoid confusion to users.- Possible Bug 2: When the upload process is terminated in some way before uploading the avatar (in other words, VRCAvatar.PendingUploadis true), the VRChat SDK Control Panel allows users to change and upload the thumbnail image and other avatar information.
This is not a fatal bug and can be considered as a feature for VRChat SDK Public API users (it's designer decision), but can cause confusion to users, so I'm proposing as a possible bug here.
anatawa12
- Possible Bug 3: When the upload process is terminated in some way before uploading the avatar (in other words, VRCAvatar.PendingUploadis true), control panel does not pass thumbnail image information toBuildAndUploadif the avatar has associated thumbnail image.
With combination of Possible Bug 1 and 2 above and 4 below, users can encounter the error message "Thumbnail image is required for avatar creation" even when the avatar has associated thumbnail image but without actual avatar uploaded.
- Possible Bug 4: In the VRCSdkControlPanelAvatarBuilder.Upload, the VRChat SDK requires the thumbnail image whenVRCAvatar.PendingUploadis true, but should require whenVRCAvatar.ImageUrlis null or empty.
When the upload process is terminated before uploading the avatar, and users change the thumbnail image in the control panel or when the thumbnail image is uploaded with VRChat SDK Public API before uploading avatar, the API should not require the thumbnail image for uploading the avatar.
It was true, when the
VRCApi.CreateAvatarRecord
is not yet available in the SDK, that the thumbnail image is required when uploading an avatar for the first time.However in the current version, the thumbnail image can be uploaded separately before uploading the avatar with VRChat SDK Public API or control panel with Possible Bug 2 above, thus the API should not require the thumbnail image even when
VRCAvatar.PendingUpload
is true.Workarounds
For VRChat SDK users experiencing the error message when uploading avatar, the following workarounds can be applied:
- Before re-uploading the avatar, assign the thumbnail image again in the VRChat SDK control panel withoutclicking "Save Changes" button.
- Re-initiate the upload process by clicking "Build & Upload" button again, while there is "Save Changes" and "Discard" buttons shown at the top of the control panel.
- If the "Copyright ownership agreement" dialog appears, click "OK" to proceed with the upload.
By following these steps, users can successfully upload the avatar without encountering the error message, at least for now.
White Lotuz
Merged in a post:
failed avatar upload due to missing image when image is present
BleuTale
So I have been trying to get this avatar to upload on vrchats avatar sdk 3.9.0, keeps saying thumbnail image is reuired, and check console for logs. The problem is I have an image in the slot it saved. Was able to upload another avi a couple days ag, but this new project is'nt working. attached is image of my vrchat sdk, and the console.
KyūbiVR
I'm also running into this issue, For some reason it will upload other avatars but when I try with the specific avatar I made it doesn't want to upload and claims the thumbnail is missing when I have changed the thumbnail, tried to capture in scene, and even resized the original image.
Not Cat
In addition, if the image upload failed when creating the avatar, then this blueprint ID will never be able to update any thumbnails in the SDK panel.
Related:
holdtheday
I am constantly having the same issue, denied due to thumbnail missing when i have provided one. then it gets listed in my uploads but doesnt show up. sometimes i can upload the avvie, a lot of times i cant
AvatarRepo
I came across this bug too in version 3.9.0, I still have the broken project, its very barebones with the base sdks + Gesture manager.
I noticed that I ended up with an avatar listed in my uploads on the website, but it didn't show up on my in-game avatar list.
Using 'Change into avatar' on the website prompts the error "Avatar unavailable!", so does trying to change it between private and public
Favoriting the avatar through the website still doesnt make it show up in game, unsure about the websites favorite list, but it showed up as an "Unavailable avatar" in my in-game favorites after I deleted it through the website.
BleuTale
Was able to upload when downgrading to 3.8.2, and back Updating to 3.9.0 allowed me to upload in 3.9.0 .
This post was marked as
tracked
Load More
→