0
Fixed

ShaderBindings.gen.cs bug in Unity 5.2.1p2 with ShaderForge 1.21

mbbmbbmm fa 9 anys updated by Freya Holmér (Developer) fa 9 anys 1
NullReferenceException
UnityEngine.Material..ctor (UnityEngine.Shader shader) (at C:/buildslave/unity/build/artifacts/generated/common/runtime/ShaderBindings.gen.cs:168)

Similar to a bug reported by Tulrath, but it occurs in a different situation.
To recreate: I made a new project, imported Shader Forge, made a new folder in Assets called Shaders, created a new shader with SF and saved in that folder, chose Custom Lighting, folded out Shader Settings, clicked twice on Fallback: Pick. The first time the Shader menu opened, but when I didn't choose a shader, then after that it didn't open, instead the error occurs every time.

Edit: 5.2.1p2 with ShaderForge 1.21
Windows 7 64 Bit

Answer

Answer
Fixed

This has now been fixed in 1.23

Answer
Fixed

This has now been fixed in 1.23