Unity-Technologies / AssetGraph

Visual Workflow Automation Tool for Unity.
Other
1.13k stars 209 forks source link

Failed to export asset bundle when pressing build button second time #102

Closed hiroki-o closed 7 years ago

hiroki-o commented 7 years ago

Original report by CS (Bitbucket: optimisez, GitHub: optimisez).


Error pop up and not able to create asset bundle when pressing Build button second times with the error message. The current workaround is to restart Unity to fix the problem.

UnityEngine.AssetBundles.GraphTool.FileUtility.DeleteDirectory (System.String dirPath, Boolean isRecursive, Boolean forceDelete) (at Assets/AssetBundleGraphTool/UnityEngine.AssetBundleGraph/Editor/System/Utility/FileUtility.cs:246) UnityEngine.AssetBundles.GraphTool.Exporter.Export (BuildTarget target, UnityEngine.AssetBundles.GraphTool.DataModel.Version2.NodeData node, IEnumerable1 incoming, IEnumerable1 connectionsToOutput, System.Action3 progressFunc) (at Assets/AssetBundleGraphTool/UnityEngine.AssetBundleGraph/Editor/System/Node/Buitin/Exporter.cs:255) UnityEngine.AssetBundles.GraphTool.Exporter.Build (BuildTarget target, UnityEngine.AssetBundles.GraphTool.DataModel.Version2.NodeData node, IEnumerable1 incoming, IEnumerable1 connectionsToOutput, UnityEngine.AssetBundles.GraphTool.Output Output, System.Action3 progressFunc) (at Assets/AssetBundleGraphTool/UnityEngine.AssetBundleGraph/Editor/System/Node/Buitin/Exporter.cs:238) UnityEngine.AssetBundles.GraphTool.AssetBundleGraphController.DoNodeOperation (BuildTarget target, UnityEngine.AssetBundles.GraphTool.DataModel.Version2.NodeData currentNodeData, IEnumerable1 incoming, IEnumerable1 connectionsToOutput, UnityEngine.AssetBundles.GraphTool.Output outputFunc, Boolean isActualRun, System.Action`3 updateHandler) (at Assets/AssetBundleGraphTool/UnityEngine.AssetBundleGraph/Editor/System/Core/AssetBundleGraphController.cs:172) UnityEditor.EditorApplication:Internal_CallDelayFunctions()

3.png

hiroki-o commented 7 years ago

Original comment by Hiroki Omae (Bitbucket: [Hiroki Omae](https://bitbucket.org/Hiroki Omae), ).


@optimisez Thank you for reporting. Unfortunately this is not reproducible in my environment. Can you create a reproducible project you can share that I can look into?

hiroki-o commented 7 years ago

Original comment by Hiroki Omae (Bitbucket: [Hiroki Omae](https://bitbucket.org/Hiroki Omae), ).


Waiting for Repro

hiroki-o commented 7 years ago

Original comment by Hiroki Omae (Bitbucket: [Hiroki Omae](https://bitbucket.org/Hiroki Omae), ).


Mark as invalid due to missing repro project.