Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions com.unity.shadergraph/Editor/Importers/ShaderGraphImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace UnityEditor.ShaderGraph
// This ifdef can be removed once V2 is the only option.
[ScriptedImporter(101, Extension, 3)]
#else
[ScriptedImporter(33, Extension, 3)]
[ScriptedImporter(34, Extension, 3)]
#endif

class ShaderGraphImporter : ScriptedImporter
Expand Down Expand Up @@ -173,7 +173,7 @@ internal static string GetShaderText(string path, out List<PropertyCollector.Tex
var generator = new Generator(graph, graph.outputNode, GenerationMode.ForReals, shaderName);
shaderString = generator.generatedShader;
configuredTextures = generator.configuredTextures;
sourceAssetDependencyPaths = generator.assetDependencyPaths;
sourceAssetDependencyPaths.AddRange(generator.assetDependencyPaths);

if (graph.messageManager.AnyError())
{
Expand Down