地形组件报错

  • Creator 版本:3.5.2

  • 目标平台:编辑器

  • 重现方式:在prefab中创建地形 切一下代码编辑器 再切回来

  • 首个报错: [Scene] cc.Scheduler: Illegal target which doesn’t have id, you should do Scheduler.enableForTarget(target) before all scheduler API usage on target
    Error: [Scene] cc.Scheduler: Illegal target which doesn’t have id, you should do Scheduler.enableForTarget(target) before all scheduler API usage on target
    at error (D:\software\CocosDashboard\resources.editors\Creator\3.5.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:146294:10)
    at errorID (D:\software\CocosDashboard\resources.editors\Creator\3.5.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:146501:3)
    at Scheduler.unscheduleAllForTarget (D:\software\CocosDashboard\resources.editors\Creator\3.5.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:9364:26)
    at TerrainRenderable.unscheduleAllCallbacks (D:\software\CocosDashboard\resources.editors\Creator\3.5.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:105275:53)
    at TerrainRenderable._onPreDestroy (D:\software\CocosDashboard\resources.editors\Creator\3.5.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:105163:10)
    at TerrainRenderable._destroyImmediate (D:\software\CocosDashboard\resources.editors\Creator\3.5.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:113233:12)
    at Node._onPreDestroyBase (D:\software\CocosDashboard\resources.editors\Creator\3.5.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:151966:16)

  • 之前哪个版本是正常的:

  • 手机型号:

  • 手机浏览器:

  • 编辑器操作系统:

  • 重现概率:必现

感谢反馈,已复现,后续在这跟进:https://github.com/cocos/cocos-engine/issues/11677