Unity-Technologies / AssetGraph

Visual Workflow Automation Tool for Unity.
Other
1.12k stars 208 forks source link

グラフを実行した場合にエラーが発生するようになってしまった #142

Closed ShunsukeNatsume closed 4 years ago

ShunsukeNatsume commented 4 years ago

Execute時に以下のエラーが発生してGraphの実行ができなくなりました。 以下を試しましたが復旧しておりません。 ・プロジェクトを別途作成 ・Libraryの削除/再生製 ・グラフを新規作成してからの状態でExcute Graph : 1.6 Unity : 2018.4f20,2019.3f7 AssetGraph: System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Linq.Enumerable.Where[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at UnityEngine.AssetGraph.AssetProcessEventRecord.Clear (System.Boolean executeGraphsWithError) [0x00063] in C:\AssetTest\Library\PackageCache\com.unity.assetgraph@51f647e75d\Editor\System\Core\AssetProcessEventRecord.cs:284 at UnityEngine.AssetGraph.AssetGraphEditorWindow.Run () [0x00037] in C:\Documents\AssetTest\Library\PackageCache\com.unity.assetgraph@51f647e75d\Editor\GUI\AssetGraphEditorWindow.cs:884 UnityEditor.EditorApplication:Internal_CallDelayFunctions()

hiroki-o commented 4 years ago

レポートありがとうございます。調査開始します。 Thank you for reporting. I will take a look for the issue today

hiroki-o commented 4 years ago

AssetProcessEventRecord.asset が壊れている可能性が高いです。 このファイルはイベントログを記録しているものなので、削除しても問題ありません。 TemporalSettingFiles/AssetProcessEventRecord.asset ファイルを削除してから再度Executeしてみてください。

AssetProcessEventRecord.asset seems to be broken. This file record previous asset events and can be deleted safely. pleare delete the file and try execute your graph again.

hiroki-o commented 4 years ago

Fixed in 1.7.0