0
À l'étude

IndexOutOfRange Exception

Michał Suliga il y a 10 ans mis à jour par Freya Holmér (Developer) il y a 10 ans 5
I don't know if this is the right place, but when I connect the Skyshop Specular node to SF, I cannot edit shader anymore using SF.
I'm using Unity 5.0.0f4 and the newest version of Marmoset Skyshop and Shader Forge.

The error I get is:

IndexOutOfRangeException: Array index is out of range.
ShaderForge.SF_Node.Deserialize (System.String row, System.Collections.Generic.List`1& linkList)
ShaderForge.SF_Parser.LoadFromNodeData (System.String data, Single version, System.String& missingNode)
ShaderForge.SF_Parser.ParseNodeDataFromShader (ShaderForge.SF_Editor editor, UnityEngine.Shader s)
ShaderForge.SF_Editor.InitializeInstance (UnityEngine.Shader initShader)
ShaderForge.SF_Editor.Init (UnityEngine.Shader initShader)
UnityEditor.ShaderForgeInspector.OnInspectorGUI ()
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:1150)
UnityEditor.DockArea:OnGUI()

À l'étude
Which version of SF is this?
I haven't actually looked at supporting Skyshop in 5.x yet since 5.x has so much built-in already which sort of makes Skyshop redundant at this point. Are you doing something that isn't possible using Unity's built-in probes?
No. I just got use to it. Probably I'll leave it soon.
Anyway, just saying about the problem ;)