-
Creator 版本: 3.6.3
-
目标平台: 编辑器预览
-
重现方式:
-
git clone master分支,commit:
5acd26218d3915169679a288ebf65b9ca1f96027
测试protobuf示例项目https://github.com/cocos/cocos-example-projects/tree/master/protobuf
-
按照
https://github.com/cocos/cocos-example-projects/blob/master/protobuf/README.md
流程,执行cd tools/compile-proto npm install
-
运行编辑器,运行preview
-
点击 【我是fangkong】实体
-
首个报错: [Preview] Error occurs in an event listener: touch-startError: [Preview] Error occurs in an event listener: touch-start
at Input._emitEvent (D:\CocosEditors\Creator\3.6.3\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:14747:23)
at Input._dispatchOrPushEventTouch (D:\CocosEditors\Creator\3.6.3\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:14890:20)
at Input._simulateEventTouch (D:\CocosEditors\Creator\3.6.3\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:14726:16)
at eval (D:\CocosEditors\Creator\3.6.3\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:14780:20)
at Eventified.emit (D:\CocosEditors\Creator\3.6.3\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:122321:19)
at MouseInputSource.eval [as _handleMouseDown] (D:\CocosEditors\Creator\3.6.3\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:208130:31)
at MouseInputSource.dispatchMouseDownEvent (D:\CocosEditors\Creator\3.6.3\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:207996:16) -
第二个报错:
[Preview] awesome is not definedReferenceError: awesome is not defined
at Guy._send (file:///D:/workstation/cocos-example-projects/protobuf/temp/programming/packer-driver/targets/editor/chunks/7d/file:/D:/workstation/cocos-example-projects/protobuf/assets/scripts/Guy.ts:98:22)
at Guy.onTouchStart (file:///D:/workstation/cocos-example-projects/protobuf/temp/programming/packer-driver/targets/editor/chunks/7d/file:/D:/workstation/cocos-example-projects/protobuf/assets/scripts/Guy.ts:90:18)
at Eventified.emit (D:\CocosEditors\Creator\3.6.3\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:122319:28)
at InputEventDispatcher.dispatchEvent (D:\CocosEditors\Creator\3.6.3\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:14489:34)
at Input._emitEvent (D:\CocosEditors\Creator\3.6.3\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:14743:31)
at Input._dispatchOrPushEventTouch (D:\CocosEditors\Creator\3.6.3\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:14890:20)
at Input._simulateEventTouch (D:\CocosEditors\Creator\3.6.3\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:14726:16)
at eval (D:\CocosEditors\Creator\3.6.3\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:14780:20)
at Eventified.emit (D:\CocosEditors\Creator\3.6.3\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:122321:19)
at MouseInputSource.eval [as _handleMouseDown] (D:\CocosEditors\Creator\3.6.3\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:208130:31) -
之前哪个版本是正常的:
-
手机型号:
-
手机浏览器:
-
编辑器操作系统: windows10
-
重现概率: 必现
该问题也反馈于 https://github.com/cocos/cocos-example-projects/issues/293
但无人反馈