2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Unity上でLive2Dモデルのクリッピングマスクがエラー

Posted at

事象

Live2D Editor上では正常に表示されているモデルが、
Unity上で見るとクリッピングマスクがバグっていた。
小一時間悩んだのでメモ。

おそらくこちらと同じ問題。
作成したアニメーションをUnity上に配置するとNullReferenceExceptionが発生する

解決

モデルのインスペクタを見てみると、該当箇所(今回の場合は口)のクリッピングは問題なし。
一方、別のところのクリッピング(髪の毛)がnullになっていた。
スクリーンショット 2018-12-19 13.09.53.png
このnullを削除するか、再度指定してあげるとUnity上でも正常に表示されるようになった。

クリッピング周りは色々と表示バグが起こりやすそう。
https://docs.live2d.com/cubism-editor-manual/clipping-mask/?locale=ja

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?