So I’m basically using Shader-Graph to create a moving texture.
I have a unlit shader which moves the texture with some noise and it looks perfect in scene mode and
preview mode of the shader graph.
But when i go into game view it becomes totally black. I’ve tried looking for answers everywhere, but can’t seem to find a solution.
I’ve found a solution to this problem. It has to do with the Render Mode of the parent canvas.
Set the parent Canvas to Screen Space - Camera instead of Screen Space - Overlay and it should be fixed.
I just came across this issue and can confirm that it is a bug (present in Unity 2021.3.11f1) as it works in Scene mode and in Builds (on iOS at least) but not in the Game Window.
We currently can’t update the project, so I haven’t tried if this is already fixed in later versions.
Guys, I had the smae issue and just found out why it happens in overlay mode. its because if u have anything in ur material in ur image, it becomes black in gamemode. im a noob so no idea why it happens but try to remove the material in ur image if u have this issue