-
Creator 版本:2.1.0
-
目标平台: Web
-
详细报错信息,包含调用堆栈:
-
重现方式:new SpriteFrame(cc.url.raw(“resources/tmp.png”));直接抛出异常:texture-util.js:48 Uncaught TypeError: tex.once is not a function
at Object.loadImage (texture-util.js:48)
at cc_SpriteFrame._loadTexture (CCSpriteFrame.js:455)
at cc_SpriteFrame.setTexture (CCSpriteFrame.js:444)
at cc_SpriteFrame.ctor (CCSpriteFrame.js:225)
at new cc_SpriteFrame (eval at _createCtor (CCClass.js:609), 7)
at Object.getCurSkin (HangoverSkin.js:23)
at Object.init (HangoverParticle.js:16)
at hexagonMove.onLoad (hexagonMove.js:22)
at CCClass.eval [as _invoke] (eval at createInvokeImpl (component-scheduler.js:256), 65)
at CCClass.invoke (component-scheduler.js:154) -
之前哪个版本是正常的 :我用过的cocos creator之前版本都没正常过。
-
手机型号 :
-
手机浏览器 :
-
编辑器操作系统 :Windows
-
编辑器之前是否有其它报错 :
-
出现概率:100%
-
额外线索:
希望官方尽快修复。