Search Unity

Bug Exception failed: System.Threading.ThreadAbortException

Discussion in 'Android' started by puppetisto, Aug 3, 2021.

  1. puppetisto

    puppetisto

    Joined:
    Jun 21, 2020
    Posts:
    14
    Has anyone ever run across this build error? It seems to just get stuck here and hang on the 'creating base module' step and won't progress.

    I'm on Unity Ver 2020.3.14 LTF

    I'm trying to build for the Android platform.

    Thanks so much in advacne!


    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 <695d1cc93cca45069c528c15c9fdd749>:0
    at System.Threading.WaitHandle.InternalWaitOne (System.Runtime.InteropServices.SafeHandle waitableSafeHandle, System.Int64 millisecondsTimeout, System.Boolean hasThreadAffinity, System.Boolean exitContext) [0x00014] in <695d1cc93cca45069c528c15c9fdd749>:0
    at System.Threading.WaitHandle.WaitOne (System.Int64 timeout, System.Boolean exitContext) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
    at System.Threading.WaitHandle.WaitOne (System.Int32 millisecondsTimeout, System.Boolean exitContext) [0x00019] in <695d1cc93cca45069c528c15c9fdd749>:0
    at System.Diagnostics.Process.WaitForExit (System.Int32 milliseconds) [0x00024] in <6fcfdd162b5d4836bef3c96f53194db6>:0
    at System.Diagnostics.Process.WaitForExit () [0x00000] in <6fcfdd162b5d4836bef3c96f53194db6>: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) [0x00341] in /Users/seancawelti/Desktop/PROJECTZ/Bitbucket/Kaidan_Project_Alone_12_31/Assets/GooglePlayPlugins/com.google.android.appbundle/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) [0x00022] in /Users/seancawelti/Desktop/PROJECTZ/Bitbucket/Kaidan_Project_Alone_12_31/Assets/GooglePlayPlugins/com.google.android.appbundle/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) [0x00000] in /Users/seancawelti/Desktop/PROJECTZ/Bitbucket/Kaidan_Project_Alone_12_31/Assets/GooglePlayPlugins/com.google.android.appbundle/Editor/Scripts/Internal/PlayServices/CommandLine.cs:504
    at Google.Android.AppBundle.Editor.Internal.BuildTools.ZipUtils.UnzipFile (System.String zipFilePath, System.String outputDirectoryName) [0x00011] in /Users/seancawelti/Desktop/PROJECTZ/Bitbucket/Kaidan_Project_Alone_12_31/Assets/GooglePlayPlugins/com.google.android.appbundle/Editor/Scripts/Internal/BuildTools/ZipUtils.cs:80
    at Google.Android.AppBundle.Editor.Internal.BuildTools.AppBundleBuilder.CreateBaseModule (System.IO.DirectoryInfo baseWorkingDirectory, System.Collections.Generic.IList`1[System.String]& bundleMetadata) [0x0001c] in /Users/seancawelti/Desktop/PROJECTZ/Bitbucket/Kaidan_Project_Alone_12_31/Assets/GooglePlayPlugins/com.google.android.appbundle/Editor/Scripts/Internal/BuildTools/AppBundleBuilder.cs:641
    at Google.Android.AppBundle.Editor.Internal.BuildTools.AppBundleBuilder.CreateBundle (System.String aabFilePath, Google.Android.AppBundle.Editor.AssetPackConfig assetPackConfig, Google.Android.AppBundle.Editor.CompressionOptions compressionOptions) [0x00180] in /Users/seancawelti/Desktop/PROJECTZ/Bitbucket/Kaidan_Project_Alone_12_31/Assets/GooglePlayPlugins/com.google.android.appbundle/Editor/Scripts/Internal/BuildTools/AppBundleBuilder.cs:236
    at Google.Android.AppBundle.Editor.Internal.BuildTools.AppBundleBuilder+<>c__DisplayClass42_0.<CreateBundleAsync>b__0 () [0x00000] in /Users/seancawelti/Desktop/PROJECTZ/Bitbucket/Kaidan_Project_Alone_12_31/Assets/GooglePlayPlugins/com.google.android.appbundle/Editor/Scripts/Internal/BuildTools/AppBundleBuilder.cs:338
    UnityEngine.Debug:LogError (object)
    Google.Android.AppBundle.Editor.Internal.BuildTools.AppBundleBuilder:DisplayBuildError (string,string) (at Assets/GooglePlayPlugins/com.google.android.appbundle/Editor/Scripts/Internal/BuildTools/AppBundleBuilder.cs:813)
    Google.Android.AppBundle.Editor.Internal.BuildTools.AppBundleBuilder/<>c__DisplayClass42_0:<CreateBundleAsync>b__0 () (at Assets/GooglePlayPlugins/com.google.android.appbundle/Editor/Scripts/Internal/BuildTools/AppBundleBuilder.cs:345)
    System.Threading.ThreadHelper:ThreadStart ()
     
    Last edited: Aug 3, 2021
  2. YoNeyers

    YoNeyers

    Joined:
    Feb 10, 2017
    Posts:
    32
    i have the same thing.
    did you fix it?