Search Unity

Deafault Playables Asset store package fails to import on 2019.1.8f1

Discussion in 'Timeline' started by ibyte, Jun 30, 2019.

  1. ibyte

    ibyte

    Joined:
    Aug 14, 2009
    Posts:
    898
    Code (CSharp):
    1. Assets\DefaultPlayables\Video\VideoPlayableBehaviour.cs(33,32): error CS0029: Cannot implicitly convert type 'VideoClip' to 'UnityEngine.Video.VideoClip'
    2.  
    3. Assets\DefaultPlayables\Video\VideoPlayableBehaviour.cs(38,46): error CS1061: 'VideoClip' does not contain a definition for 'audioTrackCount' and no accessible extension method 'audioTrackCount' accepting a first argument of type 'VideoClip' could be found (are you missing a using directive or an assembly reference?)
    4.  
    5.  
     
  2. ibyte

    ibyte

    Joined:
    Aug 14, 2009
    Posts:
    898
    This is working for me

    VideoPlayableBehaviour.s line 10
    public UnityEngine.Video.VideoClip videoClip;

    VideoScriptPlayableAsset.cs line 14
    public UnityEngine.Video.VideoClip videoClip;