[About macOS Sequoia] (Updated October 22, 2024)
Live2D Cubism Editor 5.1.02 now supports macOS Sequoia.
Other Live2D Cubism products currently released are not guaranteed to work on macOS Sequoia.
Please refrain from upgrading macOS, as it may not operate properly.
Live2D Cubism Web SDK buffers can not be used with multiple targets
Hi all,
I'm currently having this issue show up in the console: WebGL: INVALID_OPERATION: bindBuffer: buffers can not be used with multiple targets, and I don't know what the cause of it is.
I was wondering what the issue could be, and how I could fix it.
Thank you very much.
0 ·
Comments
Thank you for always using our products.
We are currently investigating the cause of this warning message and how to fix it.
We will share the information here when we find out how to fix it.
Upon investigation, we found that the "ARRAY_BUFFER" and "ELEMENT_ARRAY_BUFFER" parameters were passed to the same buffer in "CubismRendererProfile_WebGL.save()".
To fix, modify one line of code in "CubismRendererProfile_WebGL.save()".
Change "this._lastArrayBufferBinding" used in the following code to "this._lastElementArrayBufferBinding".
https://github.com/Live2D/CubismWebFramework/blob/598b2a8ea1db1257e9c04bc9b09f6cec7529ae46/src/rendering/cubismrenderer_webgl.ts#L1090
The change is paired with "CubismRendererProfile_WebGL.restore()" and WARNING is resolved.
This fix will be applied in the next SDK version.