My friend has been having problems uploading their avatar. They would get an error at the end when attempting to upload it to VRChat. They’ve reinstalled VRC Creator Companion, Unity, has tried Unity 2022 and 2019, as well as factory resetting their computer.
The errror on the console goes as follows:
An error occurred while sending the request UnityEngine.Logger:Log (UnityEngine.LogType,object,UnityEngine.Object) (wrapper dynamic-method) UnityEngine.Debug:UnityEngine.Debug.LogError_Patch1 (object,UnityEngine.Object) VRC.Core.Logger:LogError (string,string,UnityEngine.Object) VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder/d144:MoveNext () (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:2891) System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder/d144> (VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder/d144&) VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder:UploadError (object,string) VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder/d133:MoveNext () (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:2725) System.Runtime.CompilerServices.AsyncTaskMethodBuilder1<System.Exception>:Start<VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder/<HandleUploadError>d__133> (VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder/<HandleUploadError>d__133&) VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder:HandleUploadError (System.Exception) VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder/<Upload>d__131:MoveNext () (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:2705) System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1<VRC.SDKBase.Editor.Api.VRCAvatar>:SetException (System.Exception) VRC.SDKBase.Editor.Api.VRCApi/d35:MoveNext () (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCApi.cs:709) System.Runtime.CompilerServices.AsyncTaskMethodBuilder1<string>:SetException (System.Exception) VRC.SDKBase.Editor.Api.VRCApi/<UploadFile>d38:MoveNext () (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCApi.cs:1055) System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1:SetException (System.Exception)
VRC.SDKBase.Editor.Api.VRCApi/d__40:MoveNext () (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCApi.cs:1096)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder 1<Newtonsoft.Json.Linq.JObject>:SetException (System.Exception) VRC.SDKBase.Editor.Api.VRCApi/<Put>d20
1<Newtonsoft.Json.Linq.JObject>:MoveNext () (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCApi.cs:399)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder 1<Newtonsoft.Json.Linq.JObject>:SetException (System.Exception) VRC.SDKBase.Editor.Api.VRCApi/<MakeRequest>d16
2<object, Newtonsoft.Json.Linq.JObject>:MoveNext () (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCApi.cs:341)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder 1<System.ValueTuple
2<Newtonsoft.Json.Linq.JObject, System.Net.Http.HttpResponseMessage>>:SetException (System.Exception)
VRC.SDKBase.Editor.Api.VRCApi/d__15` 2<object, Newtonsoft.Json.Linq.JObject>:MoveNext () (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCApi.cs:332) UnityEngine.UnitySynchronizationContext:ExecuteTasks ()
WebException: The operation has timed out.
System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func
1[TResult] aborted, System.Threading.CancellationTokenSource cts) (at :0)
System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) (at :0)
System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func
2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task
1[TResult] promise, System.Boolean requiresSynchronization) (at <27124aa0e30a41659b903b822b959bc7>:0)
— End of stack trace from previous location where exception was thrown —
System.Net.Http.MonoWebRequestHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) (at <11f98b1155334c838c39517efeb27e30>:0)
Rethrow as HttpRequestException: An error occurred while sending the request
System.Net.Http.MonoWebRequestHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) (at <11f98b1155334c838c39517efeb27e30>:0)
System.Net.Http.HttpClient.SendAsyncWorker (System.Net.Http.HttpRequestMessage request, System.Net.Http.HttpCompletionOption completionOption, System.Threading.CancellationToken cancellationToken) (at <11f98b1155334c838c39517efeb27e30>:0)
VRC.SDKBase.Editor.Api.VRCApi.MakeRequestWithResponse[T,TResponse] (System.String requestUrl, System.Net.Http.HttpMethod method, System.Collections.Generic.Dictionary2[TKey,TValue] queryParams, System.Boolean forceRefresh, T body, System.String contentType, System.Byte[] contentMD5, System.Int32 contentLength, System.Int32 timeout, System.Action
1[T] onProgress, System.Threading.CancellationToken cancellationToken) (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCApi.cs:268)
VRC.SDKBase.Editor.Api.VRCApi.MakeRequest[T,TResponse] (System.String requestUrl, System.Net.Http.HttpMethod method, System.Collections.Generic.Dictionary2[TKey,TValue] queryParams, System.Boolean forceRefresh, T body, System.String contentType, System.Byte[] contentMD5, System.Int32 contentLength, System.Int32 timeout, System.Action
1[T] onProgress, System.Threading.CancellationToken cancellationToken) (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCApi.cs:340)
VRC.SDKBase.Editor.Api.VRCApi.Put[TResponse] (System.String requestUrl, System.Collections.Generic.Dictionary2[TKey,TValue] queryParams, System.Boolean forceRefresh, System.Threading.CancellationToken cancellationToken) (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCApi.cs:399) VRC.SDKBase.Editor.Api.VRCApi.UploadSimple (System.String filename, VRC.SDKBase.Editor.Api.VRCApi+FileUploadType fileUploadType, VRC.SDKBase.Editor.Api.VRCFile currentFile, System.String mimeType, System.Byte[] fileContent, System.Action
2[T1,T2] onProgress, System.Threading.CancellationToken cancellationToken) (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCApi.cs:1066)
VRC.SDKBase.Editor.Api.VRCApi.UploadFile (System.String filename, System.String fileId, System.String friendlyFileName, System.Action2[T1,T2] onProgress, System.Threading.CancellationToken cancellationToken) (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCApi.cs:1011) VRC.SDKBase.Editor.Api.VRCApi.CreateNewAvatar (System.String id, VRC.SDKBase.Editor.Api.VRCAvatar data, System.String pathToBundle, System.String pathToImage, System.Action
2[T1,T2] onProgress, System.Threading.CancellationToken cancellationToken) (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCApi.cs:664)
VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder.Upload (UnityEngine.GameObject target, VRC.SDKBase.Editor.Api.VRCAvatar avatar, System.String bundlePath, System.String thumbnailPath, System.Threading.CancellationToken cancellationToken) (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:2663)
Rethrow as UploadException: An error occurred while sending the request
VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder.Upload (UnityEngine.GameObject target, VRC.SDKBase.Editor.Api.VRCAvatar avatar, System.String bundlePath, System.String thumbnailPath, System.Threading.CancellationToken cancellationToken) (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:2705)
VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder.BuildAndUpload (UnityEngine.GameObject target, VRC.SDKBase.Editor.Api.VRCAvatar avatar, System.String thumbnailPath, System.Threading.CancellationToken cancellationToken) (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:2999)
VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder.OnBuildAndPublishAction () (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:2021)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) (at <27124aa0e30a41659b903b822b959bc7>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at :0)
UnityEngine.UnitySynchronizationContext.Exec () (at :0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at :0)
Any help would be greatly appreciated!