3.x编辑器bug Cannot read property 'vb' of null

[Scene] Failed to allocate chunk in StaticVBAccessor, the requested buffer might be too large: 184320 bytes

Error: [Scene] Failed to allocate chunk in StaticVBAccessor, the requested buffer might be too large: 184320 bytes

at error (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:158799:12)

at errorID (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:159004:5)

at StaticVBAccessor.allocateChunk (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:109730:13)

at RenderData.resize (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:108683:39)

at Object.updateRenderData (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:282973:22)

at Sprite.updateRenderer (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:104837:29)

at UIRendererManager.updateAllDirtyRenderers (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:104461:31)
[Scene] Cannot read property ‘vb’ of null

TypeError: Cannot read property ‘vb’ of null

at Object.updateWorldVertexAndUVData (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:283069:31)

at Object.fillBuffers (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:283022:18)

at Batcher2D.commitComp (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:106509:21)

at Sprite._render (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:102882:18)

at Sprite.fillBuffers (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:104850:18)

at Batcher2D.walk (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:106912:22)

at Batcher2D.walk (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:106929:22)

at Batcher2D.walk (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:106929:22)

at Batcher2D.walk (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:106929:22)

at Batcher2D.walk (C:\ProgramData\cocos\editors\Creator\3.7.2\resources\resources\3d\engine\bin.cache\dev\editor\bundled\index.js:106929:22)

1赞

拼UI拼的好好的,忽然gg,而且重新打开也是一直报错。

怎么重现呢?

tile模式图片太大了?

我也这个问题

我前不久也遇到了,而且可以重现https://forum.cocos.org/t/topic/155516

这里有bug,文本稍微多点就会炸,需要自己修复。

我也遇到了,一个小的图片,Tiled 突然就报错了,

上一个版本也是Tiled但没报错,但更新之后即使没改动它,也依旧报错。 改成SLICED就好了