-
Creator 版本:v1.8.1
-
目标平台: win32
-
详细报错信息,包含调用堆栈:“E/jswrapper (267): ERROR: Uncaught TypeError: this._ctx.clear is not a function”
-
重现方式:打包win32后, 使用Graphics组件.
-
编辑器操作系统 :windows10
模拟器运行是没问题的, 打包win32(debug/release)后使用Graphics组件, 就会出错.
无论是 node.getComponent 还是 node.addComponent 的方式都返回null.
03-14更新: 感谢麒麟子, 果然是这个问题, 我都忘了自己设置过打包模块了