-
Notifications
You must be signed in to change notification settings - Fork 8
Description
貴重なパッケージをありがとうございます。
Windows10/Unity2021.3で使用したところ、ビルド後に以下のエラーでした。
(プロジェクト名)部分はフルパスが入っているのでログは書き換えています。
build後はComplete With Failとなります。
それでもShaderVariantsフォルダ配下にファイルは出来ている様なのですが、実際のビルドではshaderのメモリ消費量は減っておらず、成功しているかどうかがよく分かりませんでした。
[Exception] DirectoryNotFoundException: Could not find a part of the path "(プロジェクト名)\ShaderVariants\Builds\20211208_170154\Include\Hidden_TerrainEngine_PaintHeight\Hidden_TerrainEngine_PaintHeight_Vertex_Raise\Lower Heights_Normal.txt".
(wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
(wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string)
System.IO.FileStream..ctor() at <00c558282d074245ab3496e2d108079b>:0
System.IO.FileStream..ctor() at <00c558282d074245ab3496e2d108079b>:0
System.IO.StreamWriter..ctor() at <00c558282d074245ab3496e2d108079b>:0
System.IO.StreamWriter..ctor() at <00c558282d074245ab3496e2d108079b>:0
File.WriteAllText() at <00c558282d074245ab3496e2d108079b>:0
StrippingByVariantCollection.SaveResult() at Library/PackageCache/com.utj.stripvariant@47b3140287/Editor/StrippingByVariantCollection.cs:460
458: System.IO.Directory.CreateDirectory(includeDir);
459: }
-->460: System.IO.File.WriteAllText(System.IO.Path.Combine(includeDir, name) + ".txt", includeVariantsBuffer.ToString());
461: }
462: if (excludeVariantsBuffer.Length != 0)
StrippingByVariantCollection.OnProcessShader() at Library/PackageCache/com.utj.stripvariant@47b3140287/Editor/StrippingByVariantCollection.cs:357
355: if (!alreadyWriteShader.Contains(data))
356: {
-->357: SaveResult(shader, snippet);
358: alreadyWriteShader.Add(data);
359: }
BuildPipelineInterfaces.OnPreprocessShaders() at :0
GUIUtility.ProcessEvent()