请教各位版主,2.0版本代码实现序列帧如果实现?

2.0之前的版本没有试过

let animation = this.testAnim;

    let frames = [new cc.SpriteFrame(cc.url.raw("resources/card/1035.png"))
                ,new cc.SpriteFrame(cc.url.raw("resources/card/3026.png"))];

    var clip = cc.AnimationClip.createWithSpriteFrames(frames, frames.length);
    clip.name = "anim_attack";
    clip.wrapMode = cc.WrapMode.Loop;

    animation.addClip(clip);
    var anim1 = animation.play('anim_attack');

动画可以播放,但是报错
texture-util.js:101 internal error: loader handle pipe must be skipped
(anonymous) @ texture-util.js:101
(anonymous) @ CCLoader.js:259
(anonymous) @ utils.js:80
setTimeout (async)
callInNextTick @ utils.js:79
(anonymous) @ CCLoader.js:255
117.proto.allComplete @ loading-items.js:528
117.proto.itemComplete @ loading-items.js:716
(anonymous) @ loading-items.js:478
168.CallbacksInvoker.invoke @ callbacks-invoker.js:258
117.proto.itemComplete @ loading-items.js:710
117.LoadingItems.itemComplete @ loading-items.js:379
120.proto.flowOut @ pipeline.js:319
flow @ pipeline.js:87
(anonymous) @ pipeline.js:64
(anonymous) @ downloader.js:333
loadCallback @ downloader.js:105

@Knox 必现

@panda 各位版主,谢谢咯

@Knox @panda 谢谢回答

请问怎么解决的