这个错误是使用了cc.url.raw加载粒子,升级了引擎导致的,只在原生真机上报错
Simulator: E/jswrapper (267): ERROR: Uncaught TypeError: Cannot read property 'charCodeAt' of undefined, location: src/jsb_polyfill.js:0:0
Simulator: STACK:
Simulator: [0]normalize@src/jsb_polyfill.js:19534
Simulator: [1]anonymous@src/jsb_polyfill.js:12024
Simulator: [2]anonymous@src/jsb_polyfill.js:19581
Simulator: [3]onceWrapper@src/jsb_polyfill.js:11015
Simulator: [4]76.EventListeners.invoke@src/jsb_polyfill.js:10860
Simulator: [5]77.proto.emit@src/jsb_polyfill.js:11042
Simulator: [6]callback@src/jsb_polyfill.js:25596
Simulator: E/jswrapper (519): [ERROR] (..\jswrapper\v8\Object.cpp, 519): Invoking function (0D596BD8) failed!
这个错误是加载了路径为 undefined 的预制体
网友评论