Failed to export asset bundle when pressing build button second time

Issue #67 invalid
CS created an issue

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

Comments (5)

  1. 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?

  2. Log in to comment