+1
Under review

Error initialising SF on Unity2017

Peter Tyldesley 3 months ago • updated by Joachim Holmér (Developer) 3 months ago 3

when i tried to load up SF (v1.38) on Unity 2017  the window flashes up momentarily and then I get a console full of the below errors.

 

NullReferenceException: Object reference not set to an instance of an object

ShaderForge.SF_PreviewWindow.SetupPreview ()

ShaderForge.SF_PreviewWindow..ctor (ShaderForge.SF_Editor editor)

ShaderForge.SF_Editor.InitializeInstance (UnityEngine.Shader initShader)

ShaderForge.SF_Editor.Init (UnityEngine.Shader initShader)

ShaderForge.SF_Editor.InitEmpty ()

 

 

 

NullReferenceException: Object reference not set to an instance of an object

ShaderForge.SF_Editor.OnDestroy ()

UnityEditor.EditorWindow:Close()

ShaderForge.SF_Editor:Update()

UnityEditor.EditorApplication:Internal_CallUpdateFunctions()


IVe tried previous versions of SF on various versions of Unity and its the same on each one.

does anyone know of a work around?

This is an error specific to 2017.2 I believe. It was working in 2017.1.1 last time I tried.

Same is happening for me on 2017.2. No errors in console though, just no response from SF.

+1
Under review

I really don't know why this keeps happening. It should be happening if you're on an older version of SF, but not on the latest. It seems to me that the asset store updater doesn't always properly update your assets :(