Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Windows build stops at around 15%

Discussion in 'Editor & General Support' started by SonGoku10c, Jan 21, 2020.

  1. SonGoku10c

    SonGoku10c

    Joined:
    Dec 9, 2017
    Posts:
    77
    I try to build a game, but it doesn't go beyond ~15%. The small Building Player window with the progress bar says Build Player. I even can't cancel it.
    I also get two errors:


    StackOverflowException: The requested operation caused a stack overflow.
    UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) (at <83a73882c51c4602b3d34743827d03e7>:0)

    TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations, size 30557


    Unity version is 2019.3.0f3

    I hope someone can help with that problem. :-/
     
  2. SonGoku10c

    SonGoku10c

    Joined:
    Dec 9, 2017
    Posts:
    77
    Does nobody know a solution for this?
     
  3. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,193
    Suggestions:
    • You're using a Beta version of Unity, not an official release. Either stick to 2019.2 until 2019.3 is released, or you can try updating to a newer beta/RC of 2019.3 to see if they've fixed this.
    • This link (https://www.reddit.com/r/Unity3D/comments/75syxl/solved_tls_allocator_alloc_temp_thread_underlying/) suggest you do a Reimport All. It's an ancient thread, but it's worth a try.
    • See if the issue happens in a brand new project. If not, then you might need to try to triangular the issue in your build by building only a subset of your scenes until it breaks.