0

Shaderforge 1.37 won't open on Unity 5.6.2f1

Bikutoru 7 months ago • updated by Zack Black 4 weeks ago 1

Hi! Getting this error when trying to open SF, tried reseting layout on a new project, etc... same thing:


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'.
See "Script Serialization" page in the Unity Manual for further details.

UnityException: 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'.
See "Script Serialization" page in the Unity Manual for further details.

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.

I want to clarify for anyone searching for the solution to this problem in Unity 2017. The Asset Store is finding an old version in the cache folder instead of downloading the latest (currently v1.38) On a Mac, you need to navigate to Users\XXX\Library\Unity\Asset Store-5.x and delete the folder "Joachim Holmr". You can then download Shader Forge from the Asset Store normally and it will install and open. Many thanks to Keenan Woodall for finally solving this.