esperecyan / UniVRMExtensions

https://pokemori.booth.pm/items/1788660
MIT License
45 stars 3 forks source link

Doesn't work last sdk version #8

Closed Kieaer closed 1 year ago

Kieaer commented 1 year ago

Library\PackageCache\jp.pokemori.univrm-extensions@7.3.0\SwayingObjects\VRMSpringBonesToVRCPhysBonesConverter.cs(207,51): error CS0029: Cannot implicitly convert type 'bool' to 'VRC.Dynamics.VRCPhysBoneBase.AdvancedBool'

Library\PackageCache\jp.pokemori.univrm-extensions@7.3.0\SwayingObjects\VRCPhysBonesToVRMSpringBonesConverter.cs(276,46): error CS0019: Operator '||' cannot be applied to operands of type 'VRCPhysBoneBase.AdvancedBool' and 'VRCPhysBoneBase.AdvancedBool'

VRMConverterForVRChat tool make this sdk error

IndexOutOfRangeException: Index was outside the bounds of the array.
VRC.SDKBase.Validation.Performance.Stats.AvatarPerformanceStats.GetPerformanceRatingForCategory (VRC.SDKBase.Validation.Performance.AvatarPerformanceCategory perfCategory) (at <7032a901d22b4a868c651870b8204e1f>:0)
VRC.SDKBase.Editor.VRCSdkControlPanelAvatarBuilder.OnGUIPerformanceInfo (VRC.SDKBase.VRC_AvatarDescriptor avatar, VRC.SDKBase.Validation.Performance.Stats.AvatarPerformanceStats perfStats, VRC.SDKBase.Validation.Performance.AvatarPerformanceCategory perfCategory, System.Action show, System.Action fix) (at Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/ControlPanel/VRCSdkControlPanelAvatarBuilder.cs:373)
VRC.SDK3.Editor.VRCSdkControlPanelAvatarBuilder3A.ValidateFeatures (VRC.SDKBase.VRC_AvatarDescriptor avatar, UnityEngine.Animator anim, VRC.SDKBase.Validation.Performance.Stats.AvatarPerformanceStats perfStats) (at Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder3A.cs:485)
VRC.SDKBase.Editor.VRCSdkControlPanelAvatarBuilder.OnGUIAvatarCheck (VRC.SDKBase.VRC_AvatarDescriptor avatar) (at Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/ControlPanel/VRCSdkControlPanelAvatarBuilder.cs:322)
VRC.SDKBase.Editor.VRCSdkControlPanelAvatarBuilder.ShowBuilder () (at Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/ControlPanel/VRCSdkControlPanelAvatarBuilder.cs:94)
VRCSdkControlPanel.ShowBuilders () (at Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/ControlPanel/VRCSdkControlPanelBuilder.cs:329)
VRCSdkControlPanel.OnGUI () (at Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/ControlPanel/VRCSdkControlPanel.cs:215)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.DockArea.OldOnGUI () (at <a259d3c004024353a2c217da97495055>:0)
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 <b6a7e1825c0b45d3b0729282e86cc687>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
esperecyan commented 1 year ago

I have confirmed that there is a discrepancy between the Latest Version of the SDK and the version of the SDK when creating a new project. I will consider how to address this issue.

esperecyan commented 1 year ago

I have addressed the VRChat SDK spec changes in VRM Converter for VRChat 39.0.0.