A bug occurs when using the Mesh Merge feature.
When the Mesh Merge function is used on the web with WebGPU enabled, an “Illegal index buffer stride” error appears, and only a black screen is displayed.
However, when WebGPU is disabled, the Mesh Merge feature works normally on the web.
From what I’ve found, WebGPU does not support Uint8Array
, but the Mesh Merge function creates a Uint8Array
when idxCount < 256
.
How should I modify this part?
cocos creator 3.8.7
NewProject-001.zip (71.8 KB)