0
Completed

FIrst openShader Forge, Errors (UNity 5)

pjenness 10 years ago updated by Freya Holmér (Developer) 10 years ago 3
Hi

If I make a new shader with jsut a t2d diff node into the main
It seems to compile and  Ican se the shader in the poject view. THe inspector can see the channels.

But if I make a material using the shader, no channels are available, and get his error
So just get grey on my model

TypeLoadException: Could not load type 'UnityEngine.MaterialGlobalIlluminationFlags' from assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean forceDirty, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect, Boolean eyeDropperDirty) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1144)
UnityEditor.DockArea:OnGUI()

Can please help

This is in unity 5.0.0b21

Answer

Answer
Completed
5.0.0b21 isn't supported - you need to run at least 5.0.0f4
Answer
Completed
5.0.0b21 isn't supported - you need to run at least 5.0.0f4
AH you beat me to it.. Irealised my mistake when I posted and saw my version.  thanks for your amazing fast reply though!!