Help. Compiler errors when import v1.6.5 on Unity v5.6.0f3

Slate Forums Support Help. Compiler errors when import v1.6.5 on Unity v5.6.0f3

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1348
    derrickxu
    Participant

    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?

    #1349
    Gavalakis
    Keymaster

    Hello,

    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.

    Let me know.
    Thank you!

    Join us on Discord: https://discord.gg/97q2Rjh

    #1367
    derrickxu
    Participant

    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?

    #1374
    Gavalakis
    Keymaster

    Hello again,

    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.

    Join us on Discord: https://discord.gg/97q2Rjh

    #1377
    derrickxu
    Participant

    Thank you for your information!!!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.