[LayaAir 1.0]3D开启多线程报错

开启多线程后
Laya.WorkerLoader.workerPath="libs/worker.js";
Laya.WorkerLoader.enable=true;
 
加载导出的3D模型
Laya.Sprite3D.load("res/assets/LayaScene_guanyu/TestScene.lh");
 
报错:laya.d3.js:37225 Uncaught TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided.
    at Texture2D.__proto._createWebGlTexture (laya.d3.js:37225)
    at Texture2D.__proto.recreateResource (laya.d3.js:37271)
    at Texture2D.__proto.onAsynLoaded (laya.d3.js:37329)
    at ResInfo.onLoaded (laya.core.js:13189)
    at EventHandler.__proto.runWith (laya.core.js:724)
    at ResInfo.__proto.event (laya.core.js:494)
    at LoaderManager.__proto._endLoad (laya.core.js:13347)
    at Loader.onLoaded (laya.core.js:13323)
    at EventHandler.__proto.runWith (laya.core.js:724)
    at Loader.__proto.event (laya.core.js:494)
已邀请:

Aar0n

赞同来自:

请提供demo以查看问题

182*****089

赞同来自:

demo请查收

要回复问题请先

商务合作
商务合作