I try to use in demo project, and seems this arg. colors is not fill the triangles or i don’t understand how it works in cocos , there is a project attached, can play.
In Safari on MacOs Ventura there is no rendered anything, only in Firefox or Chrome.
I am not sure about why in builtin-standard effect vertex color is not applying, but when I tried builtin-unlit effect in hexmap material, it seems to be working.
Also the color value alpha values needed to be added.
About Materials issue i think there are bugs in Cocos Creator, cause i found unexpected behaviour during switch material on MeshRenderer, some time is not rendrered at all, i guess problem with format after upgrade a Cocos creator, so tired with cc bugs