Search Issue Tracker

Fixed in 2022.1.X

Duplicate in 2020.3.X

Votes

0

Found in

2019.4

2020.3

2020.3.13f1

2021.1

2021.2

2022.1

Issue ID

1347960

Regression

No

BuildPipeline.BuildPlayer throws "The build cannot be appended" exception when using AcceptExternalModificationsToPlayer option

Android

-

How to reproduce it:
1. Open the user's attached project "Upgrade.zip"
2. In the menu bar click "shoutr lab" > "Export for Android"
3. Observe the Console window

Expected result: Project is successfully exported
Actual result: Exception "InvalidOperationException: The build cannot be appended." appears

Reproduces on: 2019.4.30f1, 2020.3.19f1, 2021.1.22f1, 2021.2.0b12, 2022.1.0a6

Notes:
- Not reproducible when Exporting project via Build Settings
- Exception appears in line BuildPipeline.BuildPlayer(scenes, pathBuild, BuildTarget.Android, BuildOptions.AcceptExternalModificationsToPlayer);

  1. Response avatar

    Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0a15

Comments (2)

  1. A2e7641209846fedb7c6f447bb221350?d=mm

    unity_NIIbl7SGavIp8A

    Apr 27, 2022 06:41

    Hi, please fix on 2021.3.X .
    this issue affects the development iteration cycle.

  2. C03c09050f1b8e9c5e64d16823bbadd2?d=mm

    EP-Toushirou

    Dec 01, 2021 05:46

    Hello, when will fix this on 2020.3.X?

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.