creator3.8.3时不时有个报错,麻烦指条明路

  • Creator 版本: 3.8.3

  • 目标平台: chrome,win10

  • 重现方式:不定时出现

  • 首个报错:
    vconsole.min.js:10

  1. ErrorEvent {isTrusted: true, message: “Uncaught TypeError: Cannot read properties of null (reading ‘0’)”, filename: ‘http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js’, lineno: 101636, colno: 32, …}

  2. isTrusted: true

  3. bubbles: false

  4. cancelBubble: false

  5. cancelable: true

  6. colno: 32

  7. composed: false

  8. currentTarget: Window {window: Window, self: Window, document: document, name: ‘’, location: Location, …}

  9. defaultPrevented: false

  10. error: TypeError: Cannot read properties of null (reading ‘0’) at StencilManager.getStencilStage (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:101636:32) at Batcher2D.autoMergeBatches (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:97993:59) at Batcher2D.commitComp (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:97746:18) at Sprite._render (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:172812:18) at Sprite.fillBuffers (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:96212:18) at Batcher2D.walk (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:98123:22) at Batcher2D.walk (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:98138:22) at Batcher2D.walk (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:98138:22) at Batcher2D.walk (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:98138:22) at Batcher2D.walk (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:98138:22)

  11. eventPhase: 0

  12. filename: “http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js

  13. lineno: 101636

  14. message: “Uncaught TypeError: Cannot read properties of null (reading ‘0’)”

  15. returnValue: true

  16. srcElement: Window {window: Window, self: Window, document: document, name: ‘’, location: Location, …}

  17. target: Window {window: Window, self: Window, document: document, name: ‘’, location: Location, …}

  18. timeStamp: 524375.7999999523

  19. type: “error”

  20. [[Prototype]]: ErrorEvent

stencil-manager.ts:232

Uncaught TypeError: Cannot read properties of null (reading ‘0’)
at StencilManager.getStencilStage (stencil-manager.ts:232:30)
at Batcher2D.autoMergeBatches (batcher-2d.ts:672:62)
at Batcher2D.commitComp (batcher-2d.ts:403:18)
at Sprite._render (sprite.ts:580:16)
at Sprite.fillBuffers (ui-renderer.ts:416:18)
at Batcher2D.walk (batcher-2d.ts:809:24)
at Batcher2D.walk (batcher-2d.ts:825:26)
at Batcher2D.walk (batcher-2d.ts:825:26)
at Batcher2D.walk (batcher-2d.ts:825:26)
at Batcher2D.walk (batcher-2d.ts:825:26)

  • 编辑器操作系统: win10
  • 重现概率: 经常没事,偶尔出现

3.8.2.同问