{"action":"created","issue":{"url":"https://api.github.com/repos/Unity-Technologies/ShaderGraph/issues/394","repository_url":"https://api.github.com/repos/Unity-Technologies/ShaderGraph","labels_url":"https://api.github.com/repos/Unity-Technologies/ShaderGraph/issues/394/labels{/name}","comments_url":"https://api.github.com/repos/Unity-Technologies/ShaderGraph/issues/394/comments","events_url":"https://api.github.com/repos/Unity-Technologies/ShaderGraph/issues/394/events","html_url":"https://github.com/Unity-Technologies/ShaderGraph/issues/394","id":324451037,"number":394,"title":"Pink \"Error\" Shader in Shader Graph using Linux Editor","user":{"login":"triko88","id":24989067,"avatar_url":"https://avatars1.githubusercontent.com/u/24989067?v=4","gravatar_id":"","url":"https://api.github.com/users/triko88","html_url":"https://github.com/triko88","followers_url":"https://api.github.com/users/triko88/followers","following_url":"https://api.github.com/users/triko88/following{/other_user}","gists_url":"https://api.github.com/users/triko88/gists{/gist_id}","starred_url":"https://api.github.com/users/triko88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/triko88/subscriptions","organizations_url":"https://api.github.com/users/triko88/orgs","repos_url":"https://api.github.com/users/triko88/repos","events_url":"https://api.github.com/users/triko88/events{/privacy}","received_events_url":"https://api.github.com/users/triko88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-18T15:16:04Z","updated_at":"2018-05-18T17:52:22Z","closed_at":null,"author_association":"NONE","body":"Since Unity released it's Linux Editor for Unity 2018.1, for some reason, the shader graph doesn't work. It always gives the pink \"Error\" shader as the output.\r\nHere is the output from the console:\r\n```\r\n\r\nAssembly with name 'Unity.ShaderGraph.Editor' already exists (Packages/com.unity.shadergraph/Editor/Unity.ShaderGraph.Editor.asmdef)\r\n\r\nAssembly with name 'Unity.ShaderGraph.Editor' already exists (Assets/ShaderGraph-master/com.unity.shadergraph/Editor/Unity.ShaderGraph.Editor.asmdef)\r\n\r\nAssertion failed: Assertion failed on expression: 'm_ScriptCache != NULL && m_ScriptCache->klass'\r\n\r\nArgumentException: Can not deserialize (UnityEditor.Experimental.Rendering.LightweightPipeline.LightWeightPBRSubShader), type is invalid\r\nUnityEditor.Graphing.SerializationHelper.Deserialize[IPBRSubShader] (JSONSerializedElement item, System.Collections.Generic.Dictionary`2 remapper, System.Object[] constructorArgs) (at /home/trikha/.config/unity3d/cache/packages/packages.unity.com/com.unity.shadergraph@1.1.4-preview/Editor/Data/Util/SerializationHelper.cs:103)\r\nUnityEditor.Graphing.SerializationHelper.Deserialize[IPBRSubShader] (IEnumerable`1 list, System.Collections.Generic.Dictionary`2 remapper, System.Object[] constructorArgs) (at /home/trikha/.config/unity3d/cache/packages/packages.unity.com/com.unity.shadergraph@1.1.4-preview/Editor/Data/Util/SerializationHelper.cs:153)\r\nUnityEditor.ShaderGraph.Drawing.MaterialGraphEditWindow:Initialize(String)\r\nShaderGraphImporterEditor:ShowGraphEditWindow(String) (at /home/trikha/.config/unity3d/cache/packages/packages.unity.com/com.unity.shadergraph@1.1.4-preview/Editor/Importers/ShaderGraphImporterEditor.cs:42)\r\nShaderGraphImporterEditor:OnOpenAsset(Int32, Int32) (at /home/trikha/.config/unity3d/cache/packages/packages.unity.com/com.unity.shadergraph@1.1.4-preview/Editor/Importers/ShaderGraphImporterEditor.cs:51)\r\nUnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)\r\n\r\n{}\r\nUnityEditor.ShaderGraph.Drawing.MaterialGraphEditWindow:Initialize(String)\r\nShaderGraphImporterEditor:ShowGraphEditWindow(String) (at /home/trikha/.config/unity3d/cache/packages/packages.unity.com/com.unity.shadergraph@1.1.4-preview/Editor/Importers/ShaderGraphImporterEditor.cs:42)\r\nShaderGraphImporterEditor:OnOpenAsset(Int32, Int32) (at /home/trikha/.config/unity3d/cache/packages/packages.unity.com/com.unity.shadergraph@1.1.4-preview/Editor/Importers/ShaderGraphImporterEditor.cs:51)\r\nUnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)\r\n\r\n```\r\n\r\n![screenshot from 2018-05-10 23-46-33](https://user-images.githubusercontent.com/24989067/40242625-bb25270a-5adb-11e8-9ca6-65cb355e8fa3.png)\r\n"},"comment":{"url":"https://api.github.com/repos/Unity-Technologies/ShaderGraph/issues/comments/390283534","html_url":"https://github.com/Unity-Technologies/ShaderGraph/issues/394#issuecomment-390283534","issue_url":"https://api.github.com/repos/Unity-Technologies/ShaderGraph/issues/394","id":390283534,"user":{"login":"Vextin","id":31421419,"avatar_url":"https://avatars1.githubusercontent.com/u/31421419?v=4","gravatar_id":"","url":"https://api.github.com/users/Vextin","html_url":"https://github.com/Vextin","followers_url":"https://api.github.com/users/Vextin/followers","following_url":"https://api.github.com/users/Vextin/following{/other_user}","gists_url":"https://api.github.com/users/Vextin/gists{/gist_id}","starred_url":"https://api.github.com/users/Vextin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vextin/subscriptions","organizations_url":"https://api.github.com/users/Vextin/orgs","repos_url":"https://api.github.com/users/Vextin/repos","events_url":"https://api.github.com/users/Vextin/events{/privacy}","received_events_url":"https://api.github.com/users/Vextin/received_events","type":"User","site_admin":false},"created_at":"2018-05-18T17:52:22Z","updated_at":"2018-05-18T17:52:22Z","author_association":"NONE","body":"This is happening on Windows 64bit Unity 2018.1.1f1 Shader Graph 1.1.6 as well.\r\n\r\nConsole log:\r\n`Assertion failed: Assertion failed on expression: 'success'\r\nUnityEditor.ShaderGraph.Drawing.MaterialGraphEditWindow:Initialize(String)\r\nShaderGraphImporterEditor:ShowGraphEditWindow(String) (at C:/Users/vexti/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.shadergraph@1.1.6-preview/Editor/Importers/ShaderGraphImporterEditor.cs:42)\r\nShaderGraphImporterEditor:OnOpenAsset(Int32, Int32) (at C:/Users/vexti/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.shadergraph@1.1.6-preview/Editor/Importers/ShaderGraphImporterEditor.cs:51)\r\nUnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)`\r\n\r\n\r\n`Preview shader for graph has 1 error:\r\nShader compilation error in graph at line 9 (on d3d11):\r\nfailed to open source file: 'CoreRP/ShaderLibrary/Common.hlsl'\r\nCompiling Vertex program\r\nPlatform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR\r\n`\r\n\r\n![image](https://user-images.githubusercontent.com/31421419/40249786-b70ab8ca-5a99-11e8-873f-8354cc5d1861.png)\r\n\r\n(Note that the previews remain pink even if the procedural textures are disconnected)\r\n"}}
{"actor":{"display_login":"Vextin"}}