Cubism 3 SDK for Unity R11 がUnity2017でエラー
Cubism 3 SDK for Unity R11(Last update:2019/03/28)を空のプロジェクトにインポートしましたが
Unity2017では以下のようなコンパイルエラーが出て正常に動作しませんでした。
Assets/Live2D/Cubism/Framework/Motion/CubismMotionController.cs(258,43): error CS1501: No overload for method `Create' takes `1' arguments
Assets/Live2D/Cubism/Framework/Motion/CubismMotionLayer.cs(139,22): error CS1061: Type `UnityEngine.Animations.AnimationMixerPlayable' does not contain a definition for `DisconnectInput' and no extension method `DisconnectInput' of type `UnityEngine.Animations.AnimationMixerPlayable' could be found. Are you missing an assembly reference?
PC環境
Windows10
Dell Precision 3530
NVIDIA Quadro P600
メモリ32GB
試したUnityのバージョンは
Unity 2017.4.10f1
Unity 2017.4.20f2
Unity 2017.4.24f1
試したPlatformは 「PC,Mac&Linux Standalone」「Android」となります。
なお Unity 2018.2.20f1ではエラーは出ませんでした。
よろしくお願いいたします。
Unity2017では以下のようなコンパイルエラーが出て正常に動作しませんでした。
Assets/Live2D/Cubism/Framework/Motion/CubismMotionController.cs(258,43): error CS1501: No overload for method `Create' takes `1' arguments
Assets/Live2D/Cubism/Framework/Motion/CubismMotionLayer.cs(139,22): error CS1061: Type `UnityEngine.Animations.AnimationMixerPlayable' does not contain a definition for `DisconnectInput' and no extension method `DisconnectInput' of type `UnityEngine.Animations.AnimationMixerPlayable' could be found. Are you missing an assembly reference?
PC環境
Windows10
Dell Precision 3530
NVIDIA Quadro P600
メモリ32GB
試したUnityのバージョンは
Unity 2017.4.10f1
Unity 2017.4.20f2
Unity 2017.4.24f1
試したPlatformは 「PC,Mac&Linux Standalone」「Android」となります。
なお Unity 2018.2.20f1ではエラーは出ませんでした。
よろしくお願いいたします。
0
コメント
GitHubで公開している最新のCubismUnityComponentsに更新してください。
https://github.com/Live2D/CubismUnityComponents
更新方法につきましてはこちらをご覧ください。
https://docs.live2d.com/cubism-sdk-tutorials/update-components/
※この更新を行っても、SDK付属の.prefabや.asset等のUnity独自形式のファイルはUnity2017以前では正常に動作しません。
SDK更新後に新たに生成したデータは正常に動作いたします。
素早い対応ありがとうございます。
明日確認してみます。
GitHubのコンポーネントをプロジェクトに上書きを試したところ、
Unity2017でエラーが出なくなりました。
ご対応ありがとうございました。
今後ともよろしくお願いいたします。