[LayaAir3]Laya 3.2.9 导出IOS原生工程,播放视频报错

关键代码: this.videoNode = new Laya.VideoNode();
this.videoNode.source = "https://www.layaair.com/3.x/de ... 3B%3B
this.videoNode.videoTexture.on(Laya.Event.READY,this,this.onREADY);
this.addChild(this.videoNode);
videoNode
onREADY()
{
this.videoNode.loop = true;
this.videoNode.play();
} 关键报错日志:


Main thread blocked by synchronous property query on not-yet-loaded property (NaturalSize) for HTTP(S) asset. This could have been a problem if this asset were being read from a slow network.
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_NSKVODeallocSentinel render:toBitmap:rowBytes:bounds:format:colorSpace:]: unrecognized selector sent to instance 0x1602dce70'
*** First throw call stack:
(0x18d6250c0 0x18aabdabc 0x18d68f4c0 0x18d5398bc 0x18d539940 0x1007f579c 0x100690830 0x100730ad0 0x100730a48 0x10073085c 0x1009a08b0 0x1014166c4 0x101414cec 0x101414cec 0x101414cec 0x101414cec 0x101414cec 0x101414cec 0x101414cec 0x101414cec 0x101414cec 0x1014d207c 0x101414cec 0x10141298c 0x101412630 0x100e2bd38 0x100e2b5d8 0x100cfe2b0 0x10099d0d8 0x1007e35ac 0x1007e2bc4 0x1007e252c 0x1007e5090 0x1007e238c 0x1007dfbf0 0x100598b78 0x257a147a8 0x18f0a21d0 0x18f0a1dc8 0x18f0a2364 0x18fe11404 0x18fe10ab4 0x18fe0c1e4 0x18d51a92c 0x18d51a744 0x18d51a5a0 0x18d51af20 0x18d51cadc 0x1da349454 0x18ff3d274 0x18ff08a28 0x10059fd54 0x1b3fb5f08)
libc++abi: terminating due to uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_NSKVODeallocSentinel render:toBitmap:rowBytes:bounds:format:colorSpace:]: unrecognized selector sent to instance 0x1602dce70'
*** First throw call stack:
(0x18d6250c0 0x18aabdabc 0x18d68f4c0 0x18d5398bc 0x18d539940 0x1007f579c 0x100690830 0x100730ad0 0x100730a48 0x10073085c 0x1009a08b0 0x1014166c4 0x101414cec 0x101414cec 0x101414cec 0x101414cec 0x101414cec 0x101414cec 0x101414cec 0x101414cec 0x101414cec 0x1014d207c 0x101414cec 0x10141298c 0x101412630 0x100e2bd38 0x100e2b5d8 0x100cfe2b0 0x10099d0d8 0x1007e35ac 0x1007e2bc4 0x1007e252c 0x1007e5090 0x1007e238c 0x1007dfbf0 0x100598b78 0x257a147a8 0x18f0a21d0 0x18f0a1dc8 0x18f0a2364 0x18fe11404 0x18fe10ab4 0x18fe0c1e4 0x18d51a92c 0x18d51a744 0x18d51a5a0 0x18d51af20 0x18d51cadc 0x1da349454 0x18ff3d274 0x18ff08a28 0x10059fd54 0x1b3fb5f08)
terminating due to uncaught exception of type NSException
已邀请:

要回复问题请先

商务合作
商务合作