Failed to build an apk file for an empty Unity 2D project

Dear everyone,

I am trying to build an apk file with an empty Unity project through the platform Android. I want to build an apk file to be able to test the application on a mobile. Unfortunately, it failed at each time.

Bellow you can find the error messages that I obtained.

Library/Bee/artifacts/Android/AsyncPluginsFromLinker: Burst internal compiler error: Burst.Compiler.IL.Aot.AotLinkerException: Non 0 exit code | The native link step failed. Check previous exception in the log - linker command line : "Unity/Hub/Editor/2022.3.4f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/clang '@/tmp/tmp13b2a5.tmp'" UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /home/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:190)

Building Library/Bee/artifacts/Android/AsyncPluginsFromLinker failed with output: UnityEditor.Build.BuildFailedException: Burst compiler (1.8.7) failed running

Build completed with a result of 'Failed' in 20 seconds (20414 ms)

The Unity released installed is the “2022.3.4f1 LTS” and in “Edit → Project Settings → Player” I filled the package name.

I hoop someone will help me.

Thank you

1 Answer

1

I had the same problem. I had to reinstall the editor (delete, then install again) to make it work. (2022.3.6f1)