2.4.2编辑器报错

未知原因,同一个项目,2.3.x升级到2.4.2,同一个系统,macos big sur 11.4,一台设备正常,一台设备偶发报错,频率很高
Failed to restore delete node Canvas: TypeError: Cannot destructure property width of ‘undefined’ or ‘null’


大概操作就是在主场景打开了预制体然后挂机一段时间就会出现,出现后关闭预制体页面会发现场景层级管理器空的,只有关闭编辑器重新打开可恢复正常

五年后的今天,我也出现了,有解决办法吗
Failed to restore delete node Canvas: TypeError: Cannot read property ‘_onMaterialModified’ of null
我的叫这个