You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When opening a project that uses a global uniform of type sampler 2d, an error is shown in the godot console output Global uniform 'noise' does not exist. Create it in Project Settings. while the uniform actually exist in the project.
This was also reported in a new comment on a closed issue here : #57200 (comment)
Steps to reproduce
Create a project using the Mobile render target, create a new global uniform named noise of type sampler 2d, set it to a noise texture
Create the following shader
shader_type canvas_item;
global uniform sampler2D noise;
void fragment() {
COLOR = texture(noise, UV);
}
Assing the shader to a sprite2d node, save the scene, reload the editor
I did the test and i can confirm the error happens, also this a regression caused by #60965 in v4.3.dev1
A thing i noticied while i did my test is another bug: When i create a resource directly in the project settings option, the resource is never saved inside the project file, using notepad++ i see the file changed but when i reload nothing changes and the resource is not stored. Now if i use a resource already saved in a separated file, the project file updates correctly. Revert #60965 doesn't solve this part.
Tested versions
v4.3.dev6.official [89850d5]
System information
Godot v4.3.dev6 - Windows 10.0.19045 - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 1660 Ti (NVIDIA; 31.0.15.3699) - AMD Ryzen 5 2600 Six-Core Processor (12 Threads)
Issue description
When opening a project that uses a global uniform of type sampler 2d, an error is shown in the godot console output
Global uniform 'noise' does not exist. Create it in Project Settings.
while the uniform actually exist in the project.This was also reported in a new comment on a closed issue here : #57200 (comment)
Steps to reproduce
Minimal reproduction project (MRP)
globaluniform.zip
The text was updated successfully, but these errors were encountered: