VRMConverterForVRChat
VRMConverterForVRChat copied to clipboard
「VRM」→「Export VRM file from VRChat avatar」を選択するとエラーがでる: ArgumentException: Blend shape index out of range.
下記内容エラーが出てしまうのですが、原因わかりますでしょうか?
:::::::::::::::::::::::::::::::::::::::::::::::::::
ArgumentException: Blend shape index out of range.
Esperecyan.Unity.VRMConverterForVRChat.Utilities.VRChatUtility.DetectBlinkExpressions (System.Collections.Generic.IDictionary2[TKey,TValue] expressions, UnityEngine.GameObject instance, System.Collections.Generic.IEnumerable
1[T] shapeKeyNames) (at Library/PackageCache/[email protected]/Editor/Utilities/VRChatUtility.cs:382)
Esperecyan.Unity.VRMConverterForVRChat.Utilities.VRChatUtility.DetectVRChatExpressions (UnityEngine.GameObject instance, System.Collections.Generic.IEnumerable`1[T] shapeKeyNames) (at Library/PackageCache/[email protected]/Editor/Utilities/VRChatUtility.cs:332)
Esperecyan.Unity.VRMConverterForVRChat.UI.VRChatToVRMWizard.DrawWizardGUI () (at Library/PackageCache/[email protected]/Editor/UI/VRChatToVRMWizard.cs:170)
UnityEditor.ScriptableWizard.OnGUI () (at
::::::::::::::::::::::::::::::::::::::::::::::::::: GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced. UnityEngine.GUIUtility:ProcessEvent (int,intptr) :::::::::::::::::::::::::::::::::::::::::::::::::::
ArgumentException: Blend shape index out of range.
Esperecyan.Unity.VRMConverterForVRChat.Utilities.VRChatUtility.DetectBlinkExpressions (System.Collections.Generic.IDictionary2[TKey,TValue] expressions, UnityEngine.GameObject instance, System.Collections.Generic.IEnumerable
1[T] shapeKeyNames) (at Library/PackageCache/[email protected]/Editor/Utilities/VRChatUtility.cs:382)
Esperecyan.Unity.VRMConverterForVRChat.Utilities.VRChatUtility.DetectVRChatExpressions (UnityEngine.GameObject instance, System.Collections.Generic.IEnumerable`1[T] shapeKeyNames) (at Library/PackageCache/[email protected]/Editor/Utilities/VRChatUtility.cs:332)
Esperecyan.Unity.VRMConverterForVRChat.UI.VRChatToVRMWizard.DrawWizardGUI () (at Library/PackageCache/[email protected]/Editor/UI/VRChatToVRMWizard.cs:170)
UnityEditor.ScriptableWizard.OnGUI () (at
またボタンを押してもこのような表示で何も表示されるでして…
ご報告有り難うございます。 こちらのエラーは、変換ダイアログを開いたときに表示される、ということでしょうか。 また、問題を再現できる3Dモデルをご提供いただくことは可能でしょうか。
はい。 提供すること可能です。 個人で色々と改変しているデータですが、よろしいでしょうか?
改変というのは、自作でない改変元となるモデルが存在するということでしょうか。
はい。そのとおりです。
こちらで公開、あるいは自分へメッセージ等で送っても権利上問題がないモデルということでしょうか。 でしたらぜひよろしくお願いいたします。
製作者に確認致します! ちなみにデータの渡し方はどのようにすればよろしいでしょうか?
助かります。よろしくお願いいたします。 https://gigafile.nu/ などでアップロードしたURLを、ショップへの問い合わせから送っていただければと思います。 https://accounts.booth.pm/conversations/9205879/messages
同エラーが発生する3Dモデルは、QuQu様で販売されている「U」、なっふな堂様で販売されている「狐薄 -こはく-」であり、いずれも共有不可ということで承知しました。
QuQu様では無料頒布の3Dモデルがありましたので、VRMへの変換を試したところ、別のエラーが発生しました。 https://sonovr.booth.pm/items/1843582
System.ArgumentException: An item with the same key has already been added. Key: bikkuri at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in
:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in :0 at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable 1[T] source, System.Func
2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector, System.Collections.Generic.IEqualityComparer1[T] comparer) [0x0009d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable
1[T] source, System.Func2[T,TResult] keySelector, System.Func\
2[T,TResult] elementSelector) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Esperecyan.Unity.VRMConverterForVRChat.VRChatToVRM.VRChatExpressionsReplacer.ExtractShapeKeyNames (Esperecyan.Unity.VRMConverterForVRChat.VRChatToVRM.VRChatExpressionBinding vrchatExpressionBinding) [0x00013] in ○○○○○○○○○○○○\Editor\VRChatToVRM\VRChatExpressionsReplacer.cs:32
とりあえずこちらのエラーの原因を調査したいと思います。
ご対応ありがとうございます! 何卒よろしくお願い致します!
Same error. it solved?
@Kieaer Currently, I have not been able to determine how to reproduce the error.
System.ArgumentException: An item with the same key has already been added. Key: bikkuri
については v38.0.2 で対処しましたが、こちらのエラーについては再現方法が無く不明です。
別のアバターで再現しました
VRC Avatar DescriptorのEyelids→Blendshape States→Blinkの設定が -none-
になっていると起きるようです
@primenumber ご報告有り難うございます。 たしかに再現できました