diff --git a/servers/rendering/shader_language.cpp b/servers/rendering/shader_language.cpp index 745dcf53922..e9f69a8c670 100644 --- a/servers/rendering/shader_language.cpp +++ b/servers/rendering/shader_language.cpp @@ -9204,6 +9204,7 @@ Error ShaderLanguage::_parse_shader(const HashMap &p_f tk = _get_token(); if (tk.type == TK_IDENTIFIER) { current_uniform_group_name = tk.text; + current_uniform_subgroup_name = ""; tk = _get_token(); if (tk.type == TK_PERIOD) { tk = _get_token();