VRMConverterForVRChat icon indicating copy to clipboard operation
VRMConverterForVRChat copied to clipboard

[VRChat → VRM] Blinkのシェイプキーがnoneの場合に例外が発生するのを修正

Open PancakeTorto1se opened this issue 5 months ago • 0 comments

#28 のissueについて修正のPRを作成しました。

こちらの問題の原因ですが、VRC Avatar DescriptorのEye Look→Eyelids→Blendshape StatesのBlinkが-none-になっている場合に 以下のsettings.eyelidsBlendshapes[0]が-1になるためIndex out of rangeが発生していました。 https://github.com/esperecyan/VRMConverterForVRChat/blob/18915174c4d990c2b1774d16eb410163ab499cb1/Editor/Utilities/VRChatUtility.cs#L332

したがって、本修正ではこの値が設定されている場合に無視するようにしています。

PancakeTorto1se avatar Oct 03 '24 13:10 PancakeTorto1se