编辑器报错

3.3的报错信息. 输出信息不全 ‘b0ZZprNnZJh6v05YgmxB24’ 根本查不到是什么东西. 能不能把路径文件名等打印出来. 目前这个输出根本看不出错误在哪里发生.

[Vue warn]: Duplicate keys detected: ‘b0ZZprNnZJh6v05YgmxB24’. This may cause an update error.

found in

—>

(anonymous) @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules@base\electron-logger\lib\renderer.ccc:1
warn @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:634
checkDuplicateKeys @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:6235
updateChildren @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:6173
patchVnode @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:6308
patch @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:6469
(anonymous) @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:3943
updateComponent @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:4061
get @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:4472
run @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:4547
flushSchedulerQueue @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:4305
(anonymous) @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:1989
flushCallbacks @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:1915
Promise.then (async)
timerFunc @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:1942
nextTick @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:1999
queueWatcher @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:4397
update @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:4537
notify @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:745
reactiveSetter @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:1070
proxySetter @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules\vue\dist\vue.js:4624
filter @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\builtin\hierarchy\dist\components\tree.ccc:1
render @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\builtin\hierarchy\dist\components\tree.ccc:1
renderImmediately @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\builtin\hierarchy\dist\components\tree-data.ccc:1
(anonymous) @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\builtin\hierarchy\dist\components\tree-data.ccc:1
requestAnimationFrame (async)
render @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\builtin\hierarchy\dist\components\tree-data.ccc:1
reset @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\builtin\hierarchy\dist\components\tree-data.ccc:1
async function (async)
reset @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\builtin\hierarchy\dist\components\tree-data.ccc:1
refresh @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\builtin\hierarchy\dist\components\tree.ccc:1
async function (async)
refresh @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\builtin\hierarchy\dist\components\tree.ccc:1
changed @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\builtin\hierarchy\dist\components\tree.ccc:1
changed @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\builtin\hierarchy\dist\panel.ccc:1
(anonymous) @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules@editor\panel\lib\element.ccc:1
(anonymous) @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules@editor\panel\lib\element.ccc:1
emit @ events.js:315
(anonymous) @ F:\CocosDashboard\resources.editors\Creator\3.3.0\resources\app.asar\node_modules@base\electron-base-ipc\dist\renderer.ccc:1
emit @ events.js:315
onMessage @ electron/js2c/renderer_init.js:93

已反馈,什么情况下出现的这个问题?

这个错误出现后,会导致其他问题么?比如节点无法编辑了之类的?

是的,节点无法编辑了.
选中一个节点,整个节点目录全被选中状态.无法操作单个节点.

保存场景重新打开也会报这个错误.

错误信息最好能包含当前反序列化的父对象的路径,方便排查错误.

我这也出现了 太恶心了 敲一会代码就出现了场景里面东西都改不了只能关了重开 然后过一会又出这个错


image
我的也是,所有按钮都绑在一起了。晕死。

出解决方案了吗

我这也出现了。。。。


然后层级管理器就跪了,节点操作不了了

应该是Prefab里复制节点/Component导致了一些Id的冲突。两个方案:

  1. 在场景中将Prefab先unLink一下image ,再把它拖为Prefab,应该能解决。
  2. 在Prefab里看下是哪个节点或Component是通过复制出来的,删除掉,新建一个,不要用复制的方式。

后面的版本会修复这个问题~