グルー使用パーツがVTubeStudioでNaN(初期化)または位置ズレを起こすエラー

エラーの概要

Cubism Editor 5.3.03では正常的に見えたアートメッシュの位置が、Unity SDK(Cubism 5.0)に書き出しVTubeStudioで読み込んだ場合、正常的に見えない現象

アートメッシュおよびデフォーマの構造(親子順)

  • 髪の毛の角度XYデフォーマ(以下「角度XYデフォーマ」)
    • 髪の毛の塗りアートメッシュ(以下「塗りアートメッシュ」)
    • 髪の毛の線画アートメッシュ(以下「線画アートメッシュ」)
    • 塗り・線画をバインドするグルー(以下「グルー」)
  • キーフォームの構造:物理演算(ブレンドシェイプ)、角度XY
  • キーフォームの追加手順:物理演算(アートメッシュ)➔角度XY(ワープデフォーマ)➔角度XY(アートメッシュの細かい調整)
  • 適用範囲:前髪・横髪・後髪(左)・後髪(中)・後髪(右)のすべての要素が同じ

検証

ケース①:塗りアートメッシュ・線画アートメッシュをグルーでバインド後、両アートメッシュに物理・角度XYのキーフォーム打った場合

両アートメッシュの頂点に差がある場合(頂点の数・位置など)、角度XYデフォーマの角度XYキーフォームだけ適用され、アートメッシュの物理・角度XYのキーフォームは正常に適用されない現象

両アートメッシュの頂点に一致する場合にも、アートメッシュのキーフォームが正常に適用されない

ケース②:塗りアートメッシュ・線画アートメッシュの頂点・デフォルトフォーム一致させ、グルーでバインド後、塗りアートメッシュのみにキーフォームを設定した場合

物理演算・角度XYパラメータによる移動は正常的に作動したが、線画アートメッシュの位置が不自然にずれる現象が発生

解決策および原因の分析

解決策:塗りアートメッシュ・線画アートメッシュの頂点・デフォルトフォームを同じくし、グルーを使わずフォームのコピー&ペーストを使いキーフォームを打って解決

原因の分析

Cubism EditorとUnity SDKにおける頂点演算の処理順序およびエラーハンドリングの差

Cubism Editorでは頂点の位置演算結果が異常である場合にも、頂点の演算結果よりグルーを優先するため線画アートメッシュのエラーが表面化されず正常に見えていた。

Unity SDKの場合、ハードウェアリソースを減らすため頂点の演算結果が異常である場合、頂点の位置演算結果ををNaN(結果の範囲が正常の範囲の外にある)になり、デフォルトフォームに戻った(ケース①)

塗りアートメッシュと線画アートメッシュの演算結果とグルーの演算が重複して適用され、キーフォームの作動は正常的に行われたが塗りアートメッシュと線画アートメッシュの位置にずれが発生

(ケース①)後髪のモデリング中、角度XY(ワープデフォーマ)➔角度XY(アートメッシュの細かい調整)でアートメッシュの大きな座標移動があったため、デフォーマ内の演算でエラーが発生した。

(ケース②)実際に、角度XYワープデフォーマを完全に消し、全く新しい角度XYワープデフォーマを作成して角度XYのキーフォームを追加した場合は線画アートメッシュがデフォルトフォームに戻る現象は現れなかった。

Xにてエラーの画像を含めて説明した記事を投稿しています。

よろしければこちらの記事も目を通していただければと思います。

@udukimaya

いつも弊社製品をご愛顧くださり誠にありがとうございます。
Live2Dスタッフでございます。

お使いいただいているUnityやCubism SDKの詳細なバージョンをお教えいただけませんでしょうか?

また、検証用として、現象が再現するデータをご提供いただくことは可能でしょうか?
もしご提供いただけるのであれば、データは以下にアップロードしてください。

以上、よろしくお願いいたします。

ご返信ありがとうございます。
いつもお世話になっております。卯月まあやと申します。夜分遅くに恐れ入ります。

修正前の.cmo3ファイルではありませんが、 2026年6月25日現在のcmo3ファイルをデータ便にて添付しましたので、 ご参考いただけますと幸いです。
また、恐縮ではございますがアートメッシュのレイヤーやデフォーマ、パラメータの名称が韓国語で設定されております。ご了承いただけますと幸いです。

使っているトラッキングソフトウェアはVTubeStudioの最新バージョン(2026.05.20.)で、.moc3ファイルの書き出しバージョンはSDK 5.0/ Cubism5.0 対応でございます。
ソフトウェアの開発・Unityなどのサポートツールなどに詳しくないため、不足している情報や不正確な情報などがある可能性がございます。制作環境などの追加情報が必要がございましたらいつでもご連絡ください。

細かいお心遣いに心から感謝いたします。
それでは、引き続きよろしくお願いいたします。

2026年6月25日(木) 16:46 ono-at-live2d-com <notifications@live2dtest.discoursemail.com>:

@udukimaya

Thank you very much for providing the data.

We will investigate this matter, so please wait a moment.

Best regards.

@udukimaya

We have provided you with the corrected cmo3 file, but if you can provide a file where the issue is still reproducible, that would be greatly appreciated.
The Cubism Editor has an automatic backup feature that periodically saves your work. Could you please check if the .cmo3 file that reproduces the issue is still present in the backup folder?
For instructions on how to open the backup folder, please refer to the following page:

We sincerely apologize for the inconvenience, but we would appreciate your confirmation.

Thank you for your message.

After checking, it appears that the files were deleted along with the temporary files. We apologize for not being able to assist you.

We believe that the ID and Part ID of the ArtMesh experiencing the issue could provide clues to resolving the problem, so we are sending them to you.

Thank you very much for your careful confirmation.

【Part ID】Part120, Part65, Part111, Part113, Part133, Part135, Part121, Part123, Part136, Part134

【ArtMesh ID】
ArtMesh386, ArtMesh387, ArtMesh388, ArtMesh389, ArtMesh390, ArtMesh391, ArtMesh181, ArtMesh182, ArtMesh183, ArtMesh184, ArtMesh185, ArtMesh186, ArtMesh392, ArtMesh393, ArtMesh394, ArtMesh395, ArtMesh396, ArtMesh397, ArtMesh398, ArtMesh399, ArtMesh400, ArtMesh187, ArtMesh188, ArtMesh192, ArtMesh193, ArtMesh194, ArtMesh195, ArtMesh189, ArtMesh190, ArtMesh191, ArtMesh338, ArtMesh339, ArtMesh340, ArtMesh341, ArtMesh342, ArtMesh343, ArtMesh344, ArtMesh345, ArtMesh346, ArtMesh347, ArtMesh348, ArtMesh349, ArtMesh362, ArtMesh363, ArtMesh364, ArtMesh365, ArtMesh366, ArtMesh367, ArtMesh368, ArtMesh369, ArtMesh370, ArtMesh371, ArtMesh372, ArtMesh373, ArtMesh374, ArtMesh375, ArtMesh376, ArtMesh377, ArtMesh378, ArtMesh196, ArtMesh197, ArtMesh198, ArtMesh199, ArtMesh200, ArtMesh201, ArtMesh379, ArtMesh436, ArtMesh202, ArtMesh203, ArtMesh319, ArtMesh318, ArtMesh317, ArtMesh311, ArtMesh313, ArtMesh312

June 26, 2026 (Fri) 17:58 ono-at-live2d-com <notifications@live2dtest.discoursemail.com>:

@udukimaya

Thank you for your response.

Although this is slightly out of order, could you please also provide the details of the PC environment you are using?

We sincerely apologize for the inconvenience and appreciate your cooperation.

Thank you for your reply.

I apologize for the delayed response.

Below are the hardware and software specifications:

[Hardware Specifications]
CPU: AMD Ryzen 7 9700X 8-Core Processor (8 cores, 16 threads, 3.80 GHz clock speed)
Graphics Card: AMD Radeon RX 9070XT 32GB
Memory: DDR5 32GB (16GB x2)

[Software Specifications]
OS: Windows 11 Pro
Version: 25H2
Build: 26200.8655

Graphics Card Driver: AMD Software Adrenalin Edition 25.20.42.14

These are the specifications!

Thank you in advance for your continued support.

On Jul 1, 2026, at 17:18, ono-at-live2d-com <notifications@live2dtest.discoursemail.com>:

@udukimaya

Thank you for your response.

We are proceeding with the investigation, but it is difficult to proceed due to the lack of editing data that can reproduce the issue. If the same issue occurs in the future, we would appreciate it if you could contact us again.

We apologize for the inconvenience and thank you for your cooperation.

I apologize for the delayed response.

My name is Mayo Utsugi.

I am sending this email to report a similar error that occurred.
I have attached a video of the issue to the forum, so I would appreciate it if you could take a look when you have a moment.
Here is the link to the forum post: https://creatorsforum.live2d.com/t/topic/3931

Could you please let me know where I should send the .moc3 and .cmo3 files that are causing the error?

Thank you very much for your continued thoughtful support.
I look forward to working with you again.

On Monday, July 6, 2026 at 11:22, ono-at-live2d-com <notifications@live2dtest.discoursemail.com> wrote: