Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.3.X, 2021.1.X

Fix In Review for 2019.4.X



Found in


Issue ID




[Android] Build fails when there are 680 or more files in the Streaming Assets folder



Reproduction steps:
1. Download and open the user-submitted project ""
2. Build the project

Expected result: Build is successful
Actual result: Build fails

Reproduces on: 2020.1.0b14, 2020.1.6f1

Does not reproduce on: 2019.4.11f1, 2020.1.0b13, 2020.2.0a1, 2020.2.0b3

Error message:
> A failure occurred while executing$ActionFacade

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Does not reproduce on iOS
This is a problem outside of Unity, reported to Android Studio:

A workaround would be to use custom Gradle files and specify the file extensions. By default we specify few extensions and list all the files from streaming assets. Instead of listing streaming assets you can specify the file extensions. The downside with that is that all files with such extension will be uncompressed including those outside of streaming assets.

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2022.1.0a10

  2. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in 2021.1.9f1

  3. Response avatar

    Resolution Note (fix version 2020.3):

    Fixed in 2020.3.13f1

Comments (22)

  1. 49a337c02f37c44472cab5d95a0c4918?d=mm


    Dec 12, 2020 08:51

    I have the same problem with unity 2020.1.17f1 & 2020.2.0b14
    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':launcher:processReleaseResources'.
    > A failure occurred while executing$ActionFacade
    > AAPT2 aapt2-3.6.0-6040484-windows Daemon #0: Unexpected error during link, attempting to stop daemon.
    This should not happen under normal circumstances, please file an issue if it does.

  2. 49a337c02f37c44472cab5d95a0c4918?d=mm


    Dec 11, 2020 21:41

    Is there a workaround ?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.