Closed Pizza-Script closed 11 months ago
Thanks for the report. Looks like a 2D version bug report of https://github.com/godotengine/godot/issues/80980 (GridMap uses MultiMeshInstance internally), both of these should be fixed by https://github.com/godotengine/godot/pull/81575
I'll keep this open as it is still slighly different from the other report and is also directly about 2D and MultiMesh.
Godot version
v4.1.1.stable.official [bd6af8e0e]
System information
Godot v4.1.1.stable - Windows 10.0.19045 - Vulkan (Compatibility) - NVIDIA GeForce GTX 1660 SUPER (NVIDIA; 31.0.15.3623) - 11th Gen Intel(R) Core(TM) i7-11700 @ 2.50GHz (16 Threads)
Issue description
Browser receives errors when trying to use both MultiMeshInstance2D and RenderingServer.multimesh_*
Chrome - Version 116.0.5845.188 (Official Build) (64-bit):
[.WebGL-00007DF006C86900] GL_INVALID_OPERATION: Vertex shader input type does not match the type of the bound vertex attribute.
Firefox - 117.0.1 (64-bit):
WebGL warning: drawElementsInstanced: Vertex attrib 5 requires data of type UINT, but is being supplied with type FLOAT.
Steps to reproduce
Can view files and Itch.IO project here - https://quietgodot.itch.io/web-multimesh?secret=hyR14x8ZiMmxMP6X4rx9476fmTo
Was using the following minimal code:
For MultiMeshInstance2D
For RenderingServer
Minimal reproduction project
project.zip