SDK Bug & Feature Requests

Please check out the following rules and use the provided template when posting a bug report! Off-topic posts will be deleted.http://bit.ly/vrchat-bug-reports
I am unable to upload my avatar using the latest VRCSDK3
I am unable to upload my avatar using the latest VRCSDK3 (2.4.4) and Unity (2022.3.22f1) have tried the following steps: -Created a completely new Unity project. -Installed the latest VRCSDK3 – Avatars package. -Cleared Library and Temp folders. -Re-imported all assets and attempted upload. Despite all these steps, I keep receiving the following error: UnityPackage: Model failed validation, returning anyway: Error writing the following fields: assetVersion, created_at, unitySortNumber UnityEngine.Debug:LogWarning (object) VRC.Core.API:CreateFromJson<VRC.Core.ApiAvatar/UnityPackage> (System.Collections.Generic.IReadOnlyDictionary2<string, BestHTTP.JSON.Json/Token>) System.Reflection.MethodBase:Invoke (object,object[]) VRC.Core.ApiModel:ParseModel (System.Type,System.Collections.Generic.IReadOnlyDictionary2<string, BestHTTP.JSON.Json/Token>,object&) VRC.Core.ApiModel:TryWriteConvert (System.Type,BestHTTP.JSON.Json/Token&,object&) VRC.Core.ApiModel:ParseList (System.Type,System.Collections.Generic.IReadOnlyList1<BestHTTP.JSON.Json/Token>,object&) VRC.Core.ApiModel:TryWriteConvert (System.Type,BestHTTP.JSON.Json/Token&,object&) VRC.Core.ApiModel:WriteField (string,BestHTTP.JSON.Json/Token) VRC.Core.ApiAvatar:WriteField (string,BestHTTP.JSON.Json/Token) VRC.Core.ApiModel:SetApiFieldsFromJson (System.Collections.Generic.IReadOnlyDictionary2<string, BestHTTP.JSON.Json/Token>,string&) VRC.Core.ApiAvatar:SetApiFieldsFromJson (System.Collections.Generic.IReadOnlyDictionary2<string, BestHTTP.JSON.Json/Token>,string&) VRC.Core.API:ConvertJsonListToModelList<VRC.Core.ApiAvatar> (System.Collections.Generic.IReadOnlyList1<object>,bool&) VRC.Core.ApiModelListContainer1<VRC.Core.ApiAvatar>:Validate (bool,System.Func1<byte[]>,System.Func1<string>) VRC.Core.ApiContainer:OnComplete (bool,int,string,System.Func1<byte[]>,System.Func1<string>,single) VRC.Core.APIResponseHandler/<HandleResponse>d__5:MoveNext () Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskVoid1<VRC.Core.APIResponseHandler/<HandleResponse>d__5>:Run () (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/CompilerServices/StateMachineRunner.cs:104) Cysharp.Threading.Tasks.SwitchToThreadPoolAwaitable/Awaiter:Callback (object) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTask.Threading.cs:218) System.Threading._ThreadPoolWaitCallback:PerformWaitCallback () Could you please assist in resolving this issue or resetting the avatar record in your database so I can upload my avatar? Thank you very much for your help.
0
I am currently unable to upload any avatar from my account
I am currently unable to upload any avatar from my account, even when using a completely new Unity project with the latest VRCSDK3 (2.4.4) – Avatars package. I have tried the following steps: -Created a new Unity project from scratch. -Installed the latest VRCSDK3 – Avatars package. -Cleared Library and Temp folders. -Re-imported all assets and attempted to upload. Despite these efforts, every attempt results in the following error: UnityPackage: Model failed validation, returning anyway: Error writing the following fields: assetVersion, created_at, unitySortNumber UnityEngine.Debug:LogWarning (object) VRC.Core.API:CreateFromJson<VRC.Core.ApiAvatar/UnityPackage> (System.Collections.Generic.IReadOnlyDictionary2<string, BestHTTP.JSON.Json/Token>) System.Reflection.MethodBase:Invoke (object,object[]) VRC.Core.ApiModel:ParseModel (System.Type,System.Collections.Generic.IReadOnlyDictionary2<string, BestHTTP.JSON.Json/Token>,object&) VRC.Core.ApiModel:TryWriteConvert (System.Type,BestHTTP.JSON.Json/Token&,object&) VRC.Core.ApiModel:ParseList (System.Type,System.Collections.Generic.IReadOnlyList1<BestHTTP.JSON.Json/Token>,object&) VRC.Core.ApiModel:TryWriteConvert (System.Type,BestHTTP.JSON.Json/Token&,object&) VRC.Core.ApiModel:WriteField (string,BestHTTP.JSON.Json/Token) VRC.Core.ApiAvatar:WriteField (string,BestHTTP.JSON.Json/Token) VRC.Core.ApiModel:SetApiFieldsFromJson (System.Collections.Generic.IReadOnlyDictionary2<string, BestHTTP.JSON.Json/Token>,string&) VRC.Core.ApiAvatar:SetApiFieldsFromJson (System.Collections.Generic.IReadOnlyDictionary2<string, BestHTTP.JSON.Json/Token>,string&) VRC.Core.API:ConvertJsonListToModelList<VRC.Core.ApiAvatar> (System.Collections.Generic.IReadOnlyList1<object>,bool&) VRC.Core.ApiModelListContainer1<VRC.Core.ApiAvatar>:Validate (bool,System.Func1<byte[]>,System.Func1<string>) VRC.Core.ApiContainer:OnComplete (bool,int,string,System.Func1<byte[]>,System.Func1<string>,single) VRC.Core.APIResponseHandler/<HandleResponse>d__5:MoveNext () Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskVoid1<VRC.Core.APIResponseHandler/<HandleResponse>d__5>:Run () (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/CompilerServices/StateMachineRunner.cs:104) Cysharp.Threading.Tasks.SwitchToThreadPoolAwaitable/Awaiter:Callback (object) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTask.Threading.cs:218) System.Threading._ThreadPoolWaitCallback:PerformWaitCallback () Thank you very much for your assistance.
0
Parameter Driver editor sometimes causes broken Animator windows
Having an inspector open to a state that has a Parameter Driver will sometimes cause unity to spawn broken Animator windows and occasionally these will turn into "Failed to load..." Attached are a few images of the symptoms of this bug Nerd information: in AvatarParameterDriverEditor.GetCurrentController , EditorWindow.GetWindow is called with focus = true (implicitly), this causes EditorWindow.Show to be called on the window which does nothing if the window's m_Parent is set, but in very rare occasions during domain reloads (usually due to entering play mode) m_Parent is null, this causes unity to try spawning a new actual window for the AnimatorControllerTool , which ends up with the AnimatorControllerTool existing in multiple places at once which makes a lot of the unity windowing system to break, these duplicates continue to pile up during repeated domain reloads and can only be cleared via either a unity restart or layout reload. This is obviously caused by some form of internal unity bug but the VRChat SDK should also not be calling GetWindow with focus = true or calling GetWindow at all because GetWindow will create a window if one does not exist causing the inspector window to spawn an animator window when it is interacted with, this is clearly not desired behaviour. Resources.FindObjectsOfTypeAll should be used instead to find an AnimatorControllerTool without creating or focusing a window. It might be even better to use AssetDatabase.GetAssetPath and AssetDatabase.LoadAssetAtPath<AnimatorController> to get the controller that contains the VRCAvatarParameterDriver directly.
5
·
tracked
Load More