Creator 1.9.2 编辑器bug,必现

editorBug.zip (45.1 KB)

出现bug的操作:

  1. 双击helloworld.fire,此时打开了 helloworld.fire
  2. 双击test2.prefab, 此时打开了 test2.prefab
  3. 双击test.prefab, 此时打开了 test.prefab,但是控制台报错:
    TypeError: Cannot read property ‘getComponent’ of null
    at HTMLElement.scene:query-animation-list (file:///E:/CocosCreator/resources/app.asar/editor/builtin/scene/panel/scene.js:1:14976) at Object.Panel._dispatch (E:\CocosCreator\resources\app.asar\editor-framework\lib\renderer\panel.js:1:2283) at EventEmitter.ipcRenderer.on.o (E:\CocosCreator\resources\app.asar\editor-framework\lib\renderer\ipc.js:1:4054) at emitMany (events.js:127:13) at EventEmitter.emit (events.js:204:7)

我这边测试没有重现,是否是其他问题引起的?

请看截图

把项目发出来比较快

我来补充条件:

  • 预制体内节点组件必须只有:脚本、空节点、或者文本。
  • 必须是预制体之间的切换

你这边还是没能重现吗?

谢谢反馈,这个问题在 1.10 已经修复了!