validator out of Range
needs more information
RaG3Ac3
I have been having this problem all night where the validator on the SDK isnt functioning at all.
Errors listed below
Error 1
IndexOutOfRangeException: Index was outside the bounds of the array.
VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder.ValidateFeatures (VRC.SDKBase.VRC_AvatarDescriptor avatar, UnityEngine.Animator anim, VRC.SDKBase.Validation.Performance.Stats.AvatarPerformanceStats perfStats) (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:640)
VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder.OnGUIAvatarCheck (VRC.SDKBase.VRC_AvatarDescriptor avatar) (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:341)
VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder.ShowBuilder () (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:154)
VRCSdkControlPanel+<>c__DisplayClass184_0.<ShowBuilders>b__4 () (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/ControlPanel/VRCSdkControlPanelBuilder.cs:756)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Error 2
System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <332857d8803a4878904bcf8f9581ec33>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <332857d8803a4878904bcf8f9581ec33>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <74d6aaa3aedf4a279751914e170fef65>:0)
I have tried to reimport the SDK on top and replace it multiple times I am unsure of the issue and yes I deleted the SDK from the project and then attempted to frankenstein another projects SDK to replace it and it worked with everything fine but did not fix the issue.
Log In
RaG3Ac3
I found the issue one of my animators was no longer counted as an animator despite working completely fine other wise
Fax
needs more information
Hi RaG3Ac3! Are you experiencing this issue in every project, or just in one particular project?
It seems like the SDK is encountering an error when trying to validate your avatar. It may be caused by the avatar itself or by one of your packages.