+8

Compile Errors in 5.4.0b117

ACZv3 8 years ago 0

So I'm trying out the 5.4 beta, and while ShaderForge (1.26) works great (as always), I do get a pile of log spam any time my project recompiles:


====================


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_NodeConnector'.

See "Script Serialization" page in the Unity Manual for further details.

UnityEditor.EditorGUIUtility:get_isProSkin()

ShaderForge.SF_GUI:get_ProSkin()

ShaderForge.SF_NodeConnector:get_colorEnabledDefault()

ShaderForge.SF_NodeConnector:.ctor()

=====================


Internal_CreateRenderTexture is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'SF_NodePreview'.

See "Script Serialization" page in the Unity Manual for further details.
UnityEngine.RenderTexture:.ctor(Int32, Int32, Int32, RenderTextureFormat, RenderTextureReadWrite)

ShaderForge.SF_NodePreview:CreateNewNodeRT()

ShaderForge.SF_NodePreview:InitializeTexture()

ShaderForge.SF_NodePreview:.ctor()

====================


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'.

See "Script Serialization" page in the Unity Manual for further details.
UnityEditor.EditorGUIUtility:get_isProSkin()
ShaderForge.SF_GUI:get_ProSkin()
ShaderForge.SF_NodeConnector:get_colorEnabledDefault()
ShaderForge.SFN_ComponentMask:.cctor()

====================


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'.

See "Script Serialization" page in the Unity Manual for further details.
UnityEngine.RenderSettings:get_fogColor()
ShaderForge.SFPSC_Blending:.ctor()

=====================


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'.

See "Script Serialization" page in the Unity Manual for further details.
UnityEditor.EditorGUIUtility:get_isProSkin()
ShaderForge.SF_GUI:get_ProSkin()
ShaderForge.SF_NodeConnector:get_colorEnabledDefault()
ShaderForge.SFN_Append:.cctor()