When i import Cinematic Sequencer – SLATE 1.6.5.unitypackage on Unity v5.6.0f3, i get more than 20 compiler error. Most of them complains there is not memeber function in AnimationMixerPlayable class(part of errors paste below), i don’t find these functions in Unity document either.
Is there something wrong with the package or my Unity version?
Which version should i use when work with Unity v5.6+, not with Unity 2017?
Any help is appreciated.
Part of errors
Assets/ParadoxNotion/SLATE Cinematic Sequencer/Directables/Tracks/Runtime/Actor/AnimatorTrack.cs(58,43): error CS0117: UnityEngine.Experimental.Director.AnimationMixerPlayable' does not contain a definition forCreate’
Assets/ParadoxNotion/SLATE Cinematic Sequencer/Directables/Tracks/Runtime/Actor/AnimatorTrack.cs(61,21): error CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
Assets/ParadoxNotion/SLATE Cinematic Sequencer/Directables/Tracks/Runtime/Actor/AnimatorTrack.cs(62,18): error CS1061: Type UnityEngine.Experimental.Director.AnimationMixerPlayable' does not contain a definition forAddInput’ and no extension method AddInput' of typeUnityEngine.Experimental.Director.AnimationMixerPlayable’ could be found. Are you missing an assembly reference?
Assets/ParadoxNotion/SLATE Cinematic Sequencer/Directables/Tracks/Runtime/Actor/AnimatorTrack.cs(69,19): error CS1061: Type UnityEngine.Experimental.Director.AnimationMixerPlayable' does not contain a definition forSetInputWeight’ and no extension method SetInputWeight' of typeUnityEngine.Experimental.Director.AnimationMixerPlayable’ could be found. Are you missing an assembly reference?
Assets/ParadoxNotion/SLATE Cinematic Sequencer/Directables/Tracks/Runtime/Actor/AnimatorTrack.cs(73,13): error CS1061: Type UnityEngine.Animator' does not contain a definition forSetTimeUpdateMode’ and no extension method SetTimeUpdateMode' of typeUnityEngine.Animator’ could be found. Are you missing an assembly reference?
Assets/ParadoxNotion/SLATE Cinematic Sequencer/Directables/Tracks/Runtime/Actor/AnimatorTrack.cs(202,37): error CS1061: Type UnityEngine.Experimental.Director.AnimationMixerPlayable' does not contain a definition forGetInput’ and no extension method GetInput' of typeUnityEngine.Experimental.Director.AnimationMixerPlayable’ could be found. Are you missing an assembly reference?
Assets/ParadoxNotion/SLATE Cinematic Sequencer/Directables/Tracks/Runtime/Actor/AnimatorTrack.cs(222,18): error CS1061: Type UnityEngine.Experimental.Director.AnimationMixerPlayable' does not contain a definition forDestroy’ and no extension method Destroy' of typeUnityEngine.Experimental.Director.AnimationMixerPlayable’ could be found. Are you missing an assembly reference?
Assets/ParadoxNotion/SLATE Cinematic Sequencer/Directables/Tracks/Runtime/Actor/AnimatorTrack.cs(205,18): error CS1061: Type UnityEngine.Experimental.Director.AnimationMixerPlayable' does not contain a definition forSetInputWeight’ and no extension method SetInputWeight' of typeUnityEngine.Experimental.Director.AnimationMixerPlayable’ could be found. Are you missing an assembly reference?
Unity has made a lot of changes in the Playables API within the 5.6.x cycle.
Is it possible for you to please use 5.6.1f1 ?
There will still be only but a single compile error (I missed that) in AnimatorTrack.cs line #387, but you can remove or comment that line out and then everything will work fine with 5.6.1f1.
Thank you for your reply.
As our project won’t upgrade Unity version, so I’m trying to remove Animator Track support from this extension and use Mecanim Track only. There are’t compiler errors any more, but i’m not sure is there any limitation when i only use Mecanim Track and don’t use Animator Track?
Generally speaking the Animator Track is more straight-forward to use and more stable than the Mecanim Track since the animation in an Animator Track is sampled directly instead of using parameters that the Mecanim Track requires for example, but other than this fact, removing the Animator Track if you have to, won’t result in any other features missing.