[]安卓app加载场景错误

在浏览器上访问可以正常加载出场景,但是通过发布的安卓app访问,会报如下错误,不知道是怎么回事?
 alert=http://192.167.0.100/h5/layawe ... 6756: TypeError: Cannot read property 'createTexture' of null
var glTexture=this._source=gl.createTexture();
^
TypeError: Cannot read property 'createTexture' of null
at Texture2D.__proto._createWebGlTexture (http://192.167.0.100/h5/layawe ... 756:32)
at Texture2D.__proto.recreateResource (http://192.167.0.100/h5/layawe ... 6810:8)
at Texture2D.__proto.onAsynLoaded (http://192.167.0.100/h5/layawe ... 6857:8)
at ResInfo.onLoaded (http://192.167.0.100/h5/layawe ... 134:61)
at EventHandler.__proto.runWith (http://192.167.0.100/h5/layawe ... 716:59)
at ResInfo.__proto.event (http://192.167.0.100/h5/layawe ... 490:28)
at LoaderManager.__proto._endLoad (http://192.167.0.100/h5/layawe ... 291:11)
at Loader.onLoaded (http://192.167.0.100/h5/layawebtest/libs/laya
已邀请:

Laya_XS

赞同来自:

提供以上报错示例才能好问题,上传下示例。

要回复问题请先

商务合作
商务合作