Error uploading avatar from linux unity 2022.3.22f

Everything goes kinda fine but suddenly when uploading is showing this

[API] Request finished - result: StatusCode: 401, ReasonPhrase: ‘Unauthorized’, Version: 1.1, Content: System.Net.Http.HttpConnection+HttpConnectionResponseContent, Headers:
{
Date: Wed, 21 Aug 2024 07:55:27 GMT
Connection: keep-alive
X-Powered-By: A Room Full of Grad Students Doing Calculations By Hand
x-vrc-api-group: blue
x-vrc-api-version: master-build-2024-08-21-tupper-thingstanky
x-vrc-api-server: prod-api-blue-snark-qs1
x-jobs: Like poking around our API? Come apply to work for us instead. Careers — VRChat
Cache-Control: no-cache, private
Vary: Authorization
Vary: Accept-Encoding
Access-Control-Allow-Credentials: true
X-Frame-Options: deny

Unauthorized, try logging out and in again
“Missing Credentials”
UnityEngine.Debug:LogError (object)
VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder/d__86:MoveNext () (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:1416)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<VRC.SDKBase.Editor.Api.VRCAvatar>:SetException (System.Exception)

NullReferenceException: Object reference not set to an instance of an object
VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder+<>c.b__85_0 (System.String selected) (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:1264)
UnityEngine.UIElements.PopupField1[T].GetValueToDisplay () (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Controls/PopupField.cs:38) UnityEngine.UIElements.BasePopupField2[TValueType,TValueChoice].SetValueWithoutNotify (TValueType newValue) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Controls/BasePopupField.cs:69)
UnityEngine.UIElements.PopupField1[T].SetValueWithoutNotify (T newValue) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Controls/PopupField.cs:69) UnityEngine.UIElements.BaseField1[TValueType].set_value (TValueType value) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Controls/InputField/BaseField.cs:183)
UnityEngine.UIElements.PopupField`1[T].set_value (T value) (at /home/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Controls/PopupField.cs:62)
VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder.HandleAvatarSwitch (UnityEngine.UIElements.VisualElement root) (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:1481)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) (at :0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnitySynchronizationContext.cs:153)
UnityEngine.UnitySynchronizationContext.Exec () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnitySynchronizationContext.cs:83)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnitySynchronizationContext.cs:107)

Did any upload work before? Like is this a new behavior?

Else I know they vrchat support vrchat for Linux, but I don’t think they recommend using unity to build on Linux. I don’t know what are the implications of that.

yeah i used linux with vrchat and unity for a long time , this problem only happen twice . the first one was fixed here Error uploading avatar from unity linux 2022.3.6f1
but this trick dont work with the current sdk

UPDATE , i put a fresh unity project template and i added a template robot and upload succefully. i dont know why sometimes happen that glitch
imagen

imagen
With sdk 3.7.0 is going fine. if anyone is having problems try that version.

1 Like