docker icon indicating copy to clipboard operation
docker copied to clipboard

Burst Android NDK problem

Open jjaine opened this issue 3 years ago • 0 comments

Bug description

I'm using the ubuntu-2021.3.2f1-android-1.0.1 image to build the project. However the build fails with the message

Burst requires the android NDK to be correctly installed (it can be installed via the unity installer add component) in order to build a standalone player for Android with ARMV7A_NEON32
The environment variable ANDROID_NDK_ROOT is undefined or empty, is the Android NDK correctly installed?

This problem arised when I updated from ubuntu-2020.3.30f1-android-0.15.0 to ubuntu-2021.3.2f1-android-1.0.1. If I disable Burst compilation for Android, then the build seems to work.

How to reproduce

  • Building project with batch mode unity-editor -quit -batchmode -executeMethod Build.AndroidBuild -apkName "$APK_NAME" -logFile - on Bitbucket Pipelines.

Expected behavior

  • Build succeeds

Additional details The packages I have installed are

Registered 54 packages:
  Packages from [https://packages.unity.com]:
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
  Built-in packages:
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])
    [email protected] (location: /playerconsole/Library/PackageCache/[email protected])

jjaine avatar May 17 '22 09:05 jjaine