editorBug.zip (45.1 KB)
出现bug的操作:
- 双击helloworld.fire,此时打开了 helloworld.fire
- 双击test2.prefab, 此时打开了 test2.prefab
- 双击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)
