Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2019.4.X, 2020.3.X, 2021.2.X, 2022.1.X

Votes

5

Found in

2019.4

2021.1.0b4

2021.2

2021.2.7f1

2022.1

Issue ID

1391435

Regression

Yes

[IL2CPP] "BuildFailedException" and Bee errors are thrown in the Console window when building project for Android

IL2CPP

-

Reproduction steps:
1. Open the attached user's project
2. Go to File > Build Settings
3. Switch to Android Platform and Build the project
4. Observe errors appear in the Console window

Expected result: The Build is successful
Actual result: The Build fails, errors are thrown in the Console window

Reproducible with: 2019.4.35f1, 2021.1.0b4, 2021.1.28f1, 2021.2.9f1, 2022.1.0b5
Not reproducible with: 2020.3.27f1, 2021.1.0b3
Could not test with: 2022.2.0a2 (Script errors are thrown in the Console window)

Notes:
- Issue is not reproducible when building for Mac Standalone
- Issue is not reproducible when building with Mono Scripting Backend selected
- Errors in the Console window:
"BuildFailedException: Incremental Player build failed!"
"Building Library/Bee/artifacts/Android/iz17e/zks8_firstpass1.o failed with output: /Users/*Username*/*ProjectName*/Library/Bee/artifacts/Android/il2cppOutput/cpp/Assembly-CSharp-firstpass1.cpp(17178,50): warning: backslash and newline
separated by space [-Wbackslash-newline-escape] // vertices[3] = CardinalToVertex(3); // [-]   \ "

  1. Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0a7

  2. Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0b10

  3. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.17f1

  4. Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.32f1

  5. Resolution Note (fix version 2019.4):

    Fixed in: 2019.4.38f1

Comments (9)

  1. gegagome

    Jan 15, 2023 07:56

    Having this issue on 2021.3.11f1

  2. Arthur-LVGameDev

    Oct 25, 2022 19:52

    *** I said "2022.2.20f1" -- but I meant 2022.1.20f1 !!

  3. Arthur-LVGameDev

    Oct 25, 2022 19:52

    Still an issue here on 2022.2.20f1 (Apple Silicon) as well; editor is running on M1 MBP.

  4. yasassri

    Aug 31, 2022 09:05

    I'm fed up with this issue. Still, it happens in 2021.2.7f1. What is the Unity version should I try to build for Android without this issue? I have a Mac M1.

  5. henningsteinbock

    Jun 29, 2022 15:10

    Still happens in 2021.2.17f1

  6. CGDever

    Apr 16, 2022 08:54

    Guys, 2021.3.0f1 I have the same bug here:
    Failed because this command failed to write the following output files:
    Library/Bee/artifacts/mvdfrm/Unity.Burst.ref.dll_23CB2ACA80C54593.mvfrm

    Can't build my project on OSX

  7. darashayda

    Mar 31, 2022 13:37

    Suddenly appeared in 2022.1.0b7

  8. KFIR_ONEHAMSA

    Mar 28, 2022 09:17

    As of 28 March 2022, this bug seems to occur on Unity 2019.4.35f1,2019.4.36f1,2019.4.37f1.
    Downgraded the project to 2019.4.34f1.

    The build is working fine on this version for me.

    https://unity3d.com/unity/whats-new/2019.4.35
    "IL2CPP: Fixed incorrect exception filter handler on try blocks with multiple catch blocks. (1335434)"
    this fix might cause the issues.

  9. PandaArcade

    Feb 01, 2022 04:33

    On the release notes 2020.3.27f1 is lists this bug as a know issue - https://unity3d.com/unity/whats-new/2020.3.27

    ...but on this page it says this bug was not reproducible with 2020.3.27f1 ?

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.