-
Creator 版本:3.8.2升级到3.8.3
-
目标平台:编辑器预览
-
重现方式:使用编辑器预览运行,然后立即停止运行报错
-
首个报错:
[Window] Cannot read property ‘updateSize’ of undefined
TypeError: Cannot read property ‘updateSize’ of undefined
at CameraIconGizmo.setIconGizmoSize (C:\ProgramData\cocos\editors\Creator\3.8.3\resources\app.asar\builtin\scene\dist\script\public\gizmos\components\base\gizmo-icon.ccc:1:1035)
at C:\ProgramData\cocos\editors\Creator\3.8.3\resources\app.asar\builtin\scene\dist\script\public\gizmos\manager\gizmo.ccc:1:9279
at C:\ProgramData\cocos\editors\Creator\3.8.3\resources\app.asar\builtin\scene\dist\script\public\gizmos\manager\hack-component.ccc:1:1027
at Array.forEach ()
at walkNodeComponent (C:\ProgramData\cocos\editors\Creator\3.8.3\resources\app.asar\builtin\scene\dist\script\public\gizmos\manager\hack-component.ccc:1:1015)
at C:\ProgramData\cocos\editors\Creator\3.8.3\resources\app.asar\builtin\scene\dist\script\public\gizmos\manager\gizmo.ccc:1:9227
at Array.forEach ()
at GizmoManager.setIconGizmoSize (C:\ProgramData\cocos\editors\Creator\3.8.3\resources\app.asar\builtin\scene\dist\script\public\gizmos\manager\gizmo.ccc:1:9148)
at GizmoManager.initFromConfig (C:\ProgramData\cocos\editors\Creator\3.8.3\resources\app.asar\builtin\scene\dist\script\public\gizmos\manager\gizmo.ccc:1:10886)
at SceneFacadeManager.initSceneConfig (C:\ProgramData\cocos\editors\Creator\3.8.3\resources\app.asar\builtin\scene\dist\script\3d\facade\scene-facade-manager.ccc:1:28626)