Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
java.lang.RuntimeException: (see stack)Uncaught TypeError: this._effect.getHash is not a function[0]getHash@/data/user/0/com.vivo.hybrid/app_resource/com.weibo.doudizhu.vivominigame/src/cocos2d-runtime.js:1
_checkBacth@/data/user/0/com.vivo.hybrid/app_resource/com.weibo.doudizhu.vivominigame/src/cocos2d-runtime.js:1
209.A._render@/data/user/0/com.vivo.hybrid/app_resource/com.weibo.doudizhu.vivominigame/src/cocos2d-runtime.js:1
209.A._children@/data/user/0/com.vivo.hybrid/app_resource/com.weibo.doudizhu.vivominigame/src/cocos2d-runtime.js:1
209.A._children@/data/user/0/com.vivo.hybrid/app_resource/com.weibo.doudizhu.vivominigame/src/cocos2d-runtime.js:1
209.T.visitRootNode@/data/user/0/com.vivo.hybrid/app_resource/com.weibo.doudizhu.vivominigame/src/cocos2d-runtime.js:1
209.T.render@/data/user/0/com.vivo.hybrid/app_resource/com.weibo.doudizhu.vivominigame/src/cocos2d-runtime.js:1
render@/data/user/0/com.vivo.hybrid/app_resource/com.weibo.doudizhu.vivominigame/src/cocos2d-runtime.js:1
mainLoop@/data/user/0/com.vivo.hybrid/app_resource/com.weibo.doudizhu.vivominigame/src/cocos2d-runtime.js:1
t@/data/user/0/com.vivo.hybrid/app_resource/com.weibo.doudizhu.vivominigame/src/cocos2d-runtime.js:1
t.processAnimationFrame.e@(no filename):8
e@(no filename):8
at com.vivo.hybrid.game.jsruntime.l.b(SourceFile:51)
at com.vivo.hybrid.game.jsruntime.l.a(SourceFile:41)
at com.vivo.hybrid.game.jsruntime.GameRuntime.javaScriptExceptionCallback(SourceFile:705)
at org.cocos2dx.lib.Cocos2dxRenderer.nativeRender(Native Method)
at com.vivo.hybrid.game.render.GameRender.onDrawFrame(SourceFile:152)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1577)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1272)
Creator version?(版本号)
v2.3.0
Affected platform?(受影响的平台)
Android vivo y系列(游戏暂时只有在vivo的快应用平台)
How to reproduce?(如何重现)
不能重现(能重现也不会来提issue了)
JavaScript output or error produced?(报错信息和调用栈)
Demo project?(demo 项目)
无。
补充
我这边定位到源码,暂时先通过修改引擎代码,重新构建,来规避这个问题了。
修改后: