0
Solucionado

Switching between shaders can delete all connections / wreck preview window

colin hace 11 años actualizado por Freya Holmér (Developer) hace 11 años 4

Having problems reproducing, as Shader Forge no longer works. Here's what happened:

Worked on a shader, closed the window. Opened another shader by opening the Shader Forge window and selecting "open" from there. Jumped back into the unity asset list, found another shader, and clicked "open in shader forge." When the shader was opened, all links between shaders were broken, and the preview window was stuck displaying the previous shader and not the one I was working on. Hooking everything up again and hitting "Compile Shader" did not fix the incorrect shader being displayed in the preview window. Pic here: http://i42.tinypic.com/e8tlip.jpg

Additionally: When I hook things up again and hit Compile Shader, the shader is displayed correctly in the game preview window, but not in the Shader Forge preview window. When I save, close Shader Forge, and re-open, all connections are broken again.

This sounds like it's due to a secondary issue. Are you getting any errors in the console? Which Unity version are you on? Which OS are you running? Which SF version are you using?

Solved the problem -- this is related to permissions issues stemming from using Perforce. (Perforce has subsequently been taken out back and shot.)