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
Issue description: UniformTexture in VisualShader is not being applied / saved in some situations. It is shown in the viewport, but running the game has no effect and when I reload the project no longer appears the texture placed. I noticed that only when saved the first time saves successfully, but if I have several meshs with material, when changing them (are unique) the others do not save
Steps to reproduce:
Add a InstanceMesh
Load a mesh and create a VisualShader to surface of the mesh
Make a UniformTexture and put in a Channel (in my case metal and roughness) then Save Material
Duplicate InstanceMesh and load material, make unique
Change UniformTexture of the InstanceMesh copy and run
On editor shows the change, but in game keep with old texture or empty
When i reload project, on InstanceMesh copy has no changes
Every time i make these steps happens this.
Minimal reproduction project:
The text was updated successfully, but these errors were encountered:
Ok, i notice uniform only save on first save after opened godot, after this every change even showing on editor, doenst affect on running, after loading anything has changed on second time save
I wish I could help but I cannot reproduce it, can you try to get it on recent rc2 build - and if you are a success - make a short video to show this problem clearly, thanks.
I believe I can reproduce this (or something like this) on 3.2.2.stable.
When I follow the steps, at step 4 I make the material unique, but I do not make the visual shader unique. So, when I edit the shader in the new material I am changing it for the old as well.
If I reload the scene, both materials now have unique visual shaders. I think this change should instead be happening either at the same time as making the material unique, or not at all. It looks like a bug.
If on step 4 I make both the material and visual shader unique, then the two materials are properly independent of each other.
I don't seem able to reproduce the "different in editor and game" effect mentioned.
note: on step 5 ("change uniform") I instead put connections through a oneminus node, as changing the textureuniform wasn't making a visible difference (haven't used visualshader before, I guess you're supposed to supply an actual texture but that wasn't in the steps so...) I don't think it matters but just so you know.
Godot version: 3.2 beta 4
OS/device including version: Windows 10
Issue description: UniformTexture in VisualShader is not being applied / saved in some situations. It is shown in the viewport, but running the game has no effect and when I reload the project no longer appears the texture placed. I noticed that only when saved the first time saves successfully, but if I have several meshs with material, when changing them (are unique) the others do not save
Steps to reproduce:
Every time i make these steps happens this.
Minimal reproduction project:
The text was updated successfully, but these errors were encountered: