概要
Exception failed: System.Threading.ThreadAbortException
at (wrapper managed-to-native) System.Threading.WaitHandle.Wait_internal(intptr*,int,bool,int)
at System.Threading.WaitHandle.WaitOneNative (System.Runtime.InteropServices.SafeHandle waitableSafeHandle, System.UInt32 millisecondsTimeout, System.Boolean hasThreadAffinity, System.Boolean exitContext) [0x00019] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Threading.WaitHandle.InternalWaitOne (System.Runtime.InteropServices.SafeHandle waitableSafeHandle, System.Int64 millisecondsTimeout, System.Boolean hasThreadAffinity, System.Boolean exitContext) [0x00014] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Threading.WaitHandle.WaitOne (System.Int64 timeout, System.Boolean exitContext) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Threading.WaitHandle.WaitOne (System.Int32 millisecondsTimeout, System.Boolean exitContext) [0x00019] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Diagnostics.Process.WaitForExit (System.Int32 milliseconds) [0x00024] in <ef151b6abb5d474cb2c1cb8906a8b5a4>:0
at System.Diagnostics.Process.WaitForExit () [0x00000] in <ef151b6abb5d474cb2c1cb8906a8b5a4>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.WaitForExit()
at Google.Android.AppBundle.Editor.Internal.PlayServices.CommandLine.RunViaShellInternal (System.String toolPath, System.String arguments, System.String workingDirectory, System.Collections.Generic.Dictionary`2[TKey,TValue] envVars, Google.Android.AppBundle.Editor.Internal.PlayServices.CommandLine+IOHandler ioHandler, System.Boolean useShellExecution, System.Boolean stdoutRedirectionInShellMode) [0x003af] in XXXX\Library\PackageCache\com.google.android.appbundle@1.4.0\Editor\Scripts\Internal\PlayServices\CommandLine.cs:645
at Google.Android.AppBundle.Editor.Internal.PlayServices.CommandLine.RunViaShell (System.String toolPath, System.String arguments, System.String workingDirectory, System.Collections.Generic.Dictionary`2[TKey,TValue] envVars, Google.Android.AppBundle.Editor.Internal.PlayServices.CommandLine+IOHandler ioHandler, System.Boolean useShellExecution, System.Boolean stdoutRedirectionInShellMode) [0x00026] in XXXX\Library\PackageCache\com.google.android.appbundle@1.4.0\Editor\Scripts\Internal\PlayServices\CommandLine.cs:541
at Google.Android.AppBundle.Editor.Internal.PlayServices.CommandLine.Run (System.String toolPath, System.String arguments, System.String workingDirectory, System.Collections.Generic.Dictionary`2[TKey,TValue] envVars, Google.Android.AppBundle.Editor.Internal.PlayServices.CommandLine+IOHandler ioHandler) [0x00001] in XXXX\Library\PackageCache\com.google.android.appbundle@1.4.0\Editor\Scripts\Internal\PlayServices\CommandLine.cs:504
at Google.Android.AppBundle.Editor.Internal.BuildTools.BundletoolHelper.Run (System.String bundletoolCommand, System.Object[] args) [0x00020] in XXXX\Library\PackageCache\com.google.android.appbundle@1.4.0\Editor\Scripts\Internal\BuildTools\BundletoolHelper.cs:277
at Google.Android.AppBundle.Editor.Internal.BuildTools.BundletoolHelper.BuildBundle (System.String outputFile, System.Collections.Generic.IEnumerable`1[T] moduleFiles, System.Collections.Generic.IEnumerable`1[T] metadataFiles, Google.Android.AppBundle.Editor.Internal.BuildTools.BundletoolHelper+BuildBundleConfigParams buildBundleConfigParams) [0x00075] in XXXX\Library\PackageCache\com.google.android.appbundle@1.4.0\Editor\Scripts\Internal\BuildTools\BundletoolHelper.cs:229
at Google.Android.AppBundle.Editor.Internal.BuildTools.AppBundleBuilder.CreateBundle (System.String aabFilePath, Google.Android.AppBundle.Editor.AssetPackConfig assetPackConfig) [0x002b4] in XXXX\Library\PackageCache\com.google.android.appbundle@1.4.0\Editor\Scripts\Internal\BuildTools\AppBundleBuilder.cs:293
at Google.Android.AppBundle.Editor.Internal.BuildTools.AppBundleBuilder+<>c__DisplayClass45_0.<CreateBundleAsync>b__0 () [0x00002] in XXXX\Library\PackageCache\com.google.android.appbundle@1.4.0\Editor\Scripts\Internal\BuildTools\AppBundleBuilder.cs:342
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:LogError (object)
Google.Android.AppBundle.Editor.Internal.BuildTools.AppBundleBuilder:DisplayBuildError (string,string) (at Library/PackageCache/com.google.android.appbundle@1.4.0/Editor/Scripts/Internal/BuildTools/AppBundleBuilder.cs:762)
Google.Android.AppBundle.Editor.Internal.BuildTools.AppBundleBuilder/<>c__DisplayClass45_0:<CreateBundleAsync>b__0 () (at Library/PackageCache/com.google.android.appbundle@1.4.0/Editor/Scripts/Internal/BuildTools/AppBundleBuilder.cs:347)
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
- Play Asset Delivery の Unity メニューの
「Google > Build Android App Bundle...」を実行したところ
Windows でも Mac でも上記の例外が発生してビルドできない現象に遭遇
- コマンドラインからビルドする場合は例外が発生しなかったので
Unity メニューからビルドしないようにして回避