0

Exporting assets using SF shaders corrupts any project its added to

adam m s martin+shaderforge 8 years ago 0

When I try to use a shader created in ShaderForge in a different Unity project, I get this error:


"Could not create a custom UI for the shader ... The shader has the following: 'CustomEditor = ShaderForgeMaterialInspector'."


I've also seen this in numerous shaders purchased from the Asset Store.


It appears there's something wrong with SF shaders that means they break if used in a project without SF?


I haven't seen any docs saying that SF shaders needs special extra steps. Also: I think you should do add something that makes this clear, e.g. a giant red button saying "You MUST click this button to export shaders before using them! SF Shaders won't work on their own", or similar.