Godot Version
4.4.1
Question
hello there, I am almost new to godot. 4 or 5 days ago I switched my project from compatibilty mode to mobile. I keep getting the following 3 errors. I checked all my shader codes and didn’t find any error or optimization problem. When I switched back to compatibility mode, I started to see the same errors. Except for this error:
E 0:00:01:944 version_get_shader: Parameter “version” is null.
<C++ Source> ./servers/rendering/renderer_rd/shader_rd.h:170 @ version_get_shader()
I see this error only in the mobile mode.
I also see that message in the output section:
–Main Shader–
1 | shader_type canvas_item;
2 |
E 3-> uniform vec4 color_start : hint_color;
4 | uniform vec4 color_end : hint_color;
5 |
6 | void fragment() {
7 | float gradient = FRAG_COORD.y / SCREEN_SIZE.y;
8 | COLOR = mix(color_start, color_end, gradient);
9 | }
10 |
I have examined and searched all my codes, but I could not find my code that gives an error in the output anywhere.