Error when opening in Unity 5.4.0b22
Shader forge pane crashes when opening with the following errors:
get_skinIndex is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'SF_Editor'.
GetAllAssetPaths is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'SF_Editor'.
UnityException: GetAllAssetPaths is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'SF_Editor'.
ShaderForge.SF_Editor..ctor ()
INTERNAL_get_fogColor is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'SFPSC_Blending'.
ShaderForge.SFPSC_Blending:.ctor()
Answer
Just bought shaderforge and I'm still getting this error (1.27).
get_skinIndex is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'SFN_Append'.
get_skinIndex is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'SFN_ComponentMask'.
great! thanks, hope it gets released soon so I can stop alt-tabbing to create shaders :)
Customer support service by UserEcho
This has been fixed in 1.27