[]t._addReference is not a function

创建带数据域的微信小游戏调试时报错:t._addReference is not a function
已邀请:

Laya_XS

赞同来自:

你用外网最新版本,应该解决这个问题了

llc

赞同来自:

碰到相同的问题,解决了,供参考:
Laya.loader.load(chapterBG, Laya.Handler.create(this, this.onBGLoaded, [chapterBG])/* , Laya.Handler.create(this, this.onBGLoadProgress) */);
第三个参数打开在某些条件下会出t._addReference is not a function
可能是加载进度回调的时候跑到纹理回调上去了。。。

要回复问题请先

商务合作
商务合作