{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/19788","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/19788/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/19788/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/19788/events","html_url":"https://github.com/godotengine/godot/issues/19788","id":335951705,"node_id":"MDU6SXNzdWUzMzU5NTE3MDU=","number":19788,"title":"MultiMeshInstance error flood from VisualServer","user":{"login":"oiblank","id":23725314,"node_id":"MDQ6VXNlcjIzNzI1MzE0","avatar_url":"https://avatars1.githubusercontent.com/u/23725314?v=4","gravatar_id":"","url":"https://api.github.com/users/oiblank","html_url":"https://github.com/oiblank","followers_url":"https://api.github.com/users/oiblank/followers","following_url":"https://api.github.com/users/oiblank/following{/other_user}","gists_url":"https://api.github.com/users/oiblank/gists{/gist_id}","starred_url":"https://api.github.com/users/oiblank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oiblank/subscriptions","organizations_url":"https://api.github.com/users/oiblank/orgs","repos_url":"https://api.github.com/users/oiblank/repos","events_url":"https://api.github.com/users/oiblank/events{/privacy}","received_events_url":"https://api.github.com/users/oiblank/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-26T19:02:25Z","updated_at":"2018-06-26T19:23:51Z","closed_at":null,"author_association":"NONE","body":"**Godot version:**\r\n3.0.3\r\n\r\n\r\n**OS/device including version:**\r\nWindows 10\r\nNvidia GTX750Ti\r\n\r\n\r\n**Issue description:**\r\nI used blender to create a plane mesh with set texture to achieve a \"billboard sprite\" which would work with multimeshinstance (billboard mode on a plane mesh doesn't actually work as it doesn't rotate the mesh only the applied texture but that's for another issue i suppose), and used multimeshinstance to populate a meshinstance terrain, I created multimeshinstance by following the documentation, set the target and source mesh as described, and when running the scene I get a flood of infinite errors:\r\n\r\n```\r\n0:00:37:0458 - Condition ' multimesh->color_format == VisualServer::MULTIMESH_COLOR_NONE ' is true. returned: Color()\r\n----------\r\nType:Error\r\nDescription: \r\nTime: 0:00:37:0458\r\nC Error: Condition ' multimesh->color_format == VisualServer::MULTIMESH_COLOR_NONE ' is true. returned: Color()\r\nC Source: drivers/gles3/rasterizer_storage_gles3.cpp:4050\r\nC Function: multimesh_instance_get_color\r\n```\r\n\r\nI also tested it without the billboard material and the error persists.\r\n\r\nAlso tried selecting a Color Format (either float or byte) which while not giving out any errors makes all my instanced meshes disappear completely.\r\n\r\n**Steps to reproduce:**\r\nAlready covered that and attached a stripped down project file recreating it.\r\n\r\n**Minimal reproduction project:**\r\n\r\n[MultiMeshInstance_Error.zip](https://github.com/godotengine/godot/files/2138542/MultiMeshInstance_Error.zip)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/400432897","html_url":"https://github.com/godotengine/godot/issues/19788#issuecomment-400432897","issue_url":"https://api.github.com/repos/godotengine/godot/issues/19788","id":400432897,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDQzMjg5Nw==","user":{"login":"rokasv","id":13801432,"node_id":"MDQ6VXNlcjEzODAxNDMy","avatar_url":"https://avatars1.githubusercontent.com/u/13801432?v=4","gravatar_id":"","url":"https://api.github.com/users/rokasv","html_url":"https://github.com/rokasv","followers_url":"https://api.github.com/users/rokasv/followers","following_url":"https://api.github.com/users/rokasv/following{/other_user}","gists_url":"https://api.github.com/users/rokasv/gists{/gist_id}","starred_url":"https://api.github.com/users/rokasv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rokasv/subscriptions","organizations_url":"https://api.github.com/users/rokasv/orgs","repos_url":"https://api.github.com/users/rokasv/repos","events_url":"https://api.github.com/users/rokasv/events{/privacy}","received_events_url":"https://api.github.com/users/rokasv/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T19:23:51Z","updated_at":"2018-06-26T19:23:51Z","author_association":"NONE","body":"Doesn't sound like a bug, to use the color param, you need to set it to one of the values indicating how you'll use it:\r\n\r\n![capture](https://user-images.githubusercontent.com/13801432/41934457-aa1080a6-797e-11e8-9ae8-da90084ada33.PNG)\r\n\r\ni.e if done from code:\r\n```multimesh.color_format = MultiMesh.COLOR_FLOAT```\r\n"}}
{"actor":{"display_login":"rokasv"}}