Unity-MultiProcess-BuildPipeline icon indicating copy to clipboard operation
Unity-MultiProcess-BuildPipeline copied to clipboard

Unity2018.4.9打包报错。FileNotFoundException: Could not find file result_0.json"

Open beatless opened this issue 6 years ago • 3 comments

FileNotFoundException: Could not find file "D:\game\client\trunk\Assets\StreamingAssets\AssetBundles\result_0.json" System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at <7ba07f088431485bb722f3b3373e87ee>:0) System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) (at <7ba07f088431485bb722f3b3373e87ee>:0) (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool) System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) (at <7ba07f088431485bb722f3b3373e87ee>:0) System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) (at <7ba07f088431485bb722f3b3373e87ee>:0) System.IO.StreamReader..ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) (at <7ba07f088431485bb722f3b3373e87ee>:0) System.IO.StreamReader..ctor (System.String path) (at <7ba07f088431485bb722f3b3373e87ee>:0) (wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string) System.IO.File.ReadAllText (System.String path) (at <7ba07f088431485bb722f3b3373e87ee>:0) MultiProcessBuild.BuildPipeline.BuildAssetBundles (System.String output, UnityEditor.AssetBundleBuild[] builds, UnityEditor.BuildAssetBundleOptions options, UnityEditor.BuildTarget target) (at Assets/Plugins/MultiProcessBuild/Editor/BuildPipeline.cs:127)

beatless avatar Dec 18 '19 08:12 beatless

在生成那个.json文件的函数里加了日志,日志没有打印,说明报错的时候,文件没生成。

beatless avatar Dec 18 '19 09:12 beatless

看一看master工程下,有没有输出log_xxx.txt,看看有没有报错。

beatless [email protected] 于2019年12月18日周三 下午5:11写道:

在生成那个.json文件的函数里加了日志,日志没有打印,说明报错的时候,文件没生成。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jiangzhhhh/Unity-MultiProcess-BuildPipeline/issues/4?email_source=notifications&email_token=ABB2J5CVFTLCHJBXKVQ6UOLQZHSLFA5CNFSM4J4HRBT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHFOAYQ#issuecomment-566943842, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABB2J5BW4Y7HR6R5V7QOHB3QZHSLFANCNFSM4J4HRBTQ .

jiangzhhhh avatar Dec 19 '19 07:12 jiangzhhhh

QQ图片20191219155754 没有输出log_xxx.txt,有报错的,这是报错图片。

beatless avatar Dec 19 '19 08:12 beatless