- Home /
Issue building Android build with com.unity.transport in it
my project has the com.unity.transport api in it so that I can have a very basic client/server setup. I do not know why I'm getting this errors but some of them just look like messages showing the steps it took to get here and not necessarily true errors. But I'll share them all. Maybe someone can help me figure out how I can implement this properly. My prototype is very simple!
I just want to be able to send a message from one client, and the server receives it and broadcast it to all others. After it gets the answers from the clients that are within a mile of the original sender, it updates a list on the original sender.
anyway. that's what it needs to do and I'm using the com.unity.transport preview to do it. does anyone know why I cannot build at the moment.
Android (5058415 based on r339409) clang version 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec746213857d083c0e8b0abb568790) (https://android.googlesource.com/toolchain/llvm 7a6618d69e7e8111e1d49dc9e7813767c5ca756a) (based on LLVM 8.0.2svn)
Target: armv7a-unknown-linux-android
Thread model: posix
InstalledDir: C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\toolchains\llvm\prebuilt\windows-x86_64\bin
Found candidate GCC installation: C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64/lib/gcc/arm-linux-androideabi\4.9.x
Selected GCC installation: C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x
Candidate multilib: thumb;@mthumb
Candidate multilib: armv7-a;@march=armv7-a
Candidate multilib: armv7-a/thumb;@march=armv7-a@mthumb
Candidate multilib: .;
Selected multilib: armv7-a;@march=armv7-a
"C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\toolchains\\arm-linux-androideabi-4.9\\prebuilt\\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\\ld" "--sysroot=C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\platforms\\android-21\\arch-arm" -X --enable-new-dtags --eh-frame-hdr -m armelf_linux_eabi -shared -o "C:\\Users\\jdela\\Documents\\Indie Game Dev\\Last Chance\\Temp\\Burst\\burst-aotdc4dxxgj.w4y\\lib_burst_generated.so" "C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\platforms\\android-21\\arch-arm/usr/lib/../lib\\crtbegin_so.o" "-LC:\\Users\\jdela\\Documents\\Indie Game Dev\\Unity Editors\\2019.4.14f1\\Editor\\Data\\PlaybackEngines\\AndroidPlayer\\NDK\\toolchains\\llvm\\prebuilt\\windows-x86_64\\lib64\\clang\\8.0.2\\lib\\linux\\arm" "-LC:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\toolchains\\arm-linux-androideabi-4.9\\prebuilt\\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a" "-LC:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\toolchains\\arm-linux-androideabi-4.9\\prebuilt\\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib/armv7-a" "-LC:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\platforms\\android-21\\arch-arm/usr/lib/../lib" "-LC:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\platforms\\android-21\\arch-arm/usr/lib/arm-linux-androideabi/../../lib" "-LC:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\toolchains\\arm-linux-androideabi-4.9\\prebuilt\\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/armv7-a" "-LC:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\platforms\\android-21\\arch-arm/usr/lib" --no-undefined --gc-sections --build-id "C:\\Users\\jdela\\Documents\\Indie Game Dev\\Last Chance\\Temp\\Burst\\burst-aotdc4dxxgj.w4y\\lib_burst_generated_part_2.o" "C:\\Users\\jdela\\Documents\\Indie Game Dev\\Last Chance\\Temp\\Burst\\burst-aotdc4dxxgj.w4y\\lib_burst_generated_part_0.o" "C:\\Users\\jdela\\Documents\\Indie Game Dev\\Last Chance\\Temp\\Burst\\burst-aotdc4dxxgj.w4y\\lib_burst_generated_part_1.o" "C:\\Users\\jdela\\Documents\\Indie Game Dev\\Last Chance\\Temp\\Burst\\burst-aotdc4dxxgj.w4y\\lib_burst_generated_part_2_merged.o" -lm -latomic -lgcc -ldl -lc -lgcc -ldl "C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\platforms\\android-21\\arch-arm/usr/lib/../lib\\crtend_so.o"
C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: cannot open C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/armv7-a/libatomic.a: No such file or directory
clang.exe: error: linker command failed with exit code 1 (use -v to see invocation)
Unhandled Exception: Burst.Compiler.IL.Aot.AotLinkerException: The native link step failed. Check previous exception in the log - linker command line : "C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe "@C:\Users\jdela\AppData\Local\Temp\tmp853A.tmp"" at Burst.Compiler.IL.Aot.AotNativeLinkBase.RunNativeLinkerTool(String command, String arguments, String errorMessage, String commandType, String workingDirectory, Boolean muteOutputs) at Burst.Compiler.IL.Aot.AotNativeLinkAndroid.Link(TargetCpu targetCpu, List`1 inputFiles, String outputFile, Boolean enableDebugInfo) at Burst.Compiler.IL.Aot.AotCompiler.Link(List`1 groups, String nameSuffix, AotCompilerOptions compilerOptions, TextWriter consoleOut, TextWriter consoleError) at Burst.Bcl.BclApp.LibraryThread.Process(LibraryCompilationRequest libraryRequest) at Burst.Bcl.BclApp.LibraryThread.Run() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
BuildFailedException: Burst compiler (1.3.0) failed running
stdout: stderr: Android (5058415 based on r339409) clang version 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec746213857d083c0e8b0abb568790) (https://android.googlesource.com/toolchain/llvm 7a6618d69e7e8111e1d49dc9e7813767c5ca756a) (based on LLVM 8.0.2svn) Target: armv7a-unknown-linux-android Thread model: posix InstalledDir: C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\toolchains\llvm\prebuilt\windows-x86_64\bin Found candidate GCC installation: C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64/lib/gcc/arm-linux-androideabi\4.9.x Selected GCC installation: C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x Candidate multilib: thumb;@mthumb Candidate multilib: armv7-a;@march=armv7-a Candidate multilib: armv7-a/thumb;@march=armv7-a@mthumb Candidate multilib: .; Selected multilib: armv7-a;@march=armv7-a "C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\toolchains\\arm-linux-androideabi-4.9\\prebuilt\\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\\ld" "--sysroot=C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\platforms\\android-21\\arch-arm" -X --enable-new-dtags --eh-frame-hdr -m armelf_linux_eabi -shared -o "C:\\Users\\jdela\\Documents\\Indie Game Dev\\Last Chance\\Temp\\Burst\\burst-aotdc4dxxgj.w4y\\lib_burst_generated.so" "C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\platforms\\android-21\\arch-arm/usr/lib/../lib\\crtbegin_so.o" "-LC:\\Users\\jdela\\Documents\\Indie Game Dev\\Unity Editors\\2019.4.14f1\\Editor\\Data\\PlaybackEngines\\AndroidPlayer\\NDK\\toolchains\\llvm\\prebuilt\\windows-x86_64\\lib64\\clang\\8.0.2\\lib\\linux\\arm" "-LC:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\toolchains\\arm-linux-androideabi-4.9\\prebuilt\\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a" "-LC:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\toolchains\\arm-linux-androideabi-4.9\\prebuilt\\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/../lib/armv7-a" "-LC:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\platforms\\android-21\\arch-arm/usr/lib/../lib" "-LC:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\platforms\\android-21\\arch-arm/usr/lib/arm-linux-androideabi/../../lib" "-LC:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\toolchains\\arm-linux-androideabi-4.9\\prebuilt\\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/armv7-a" "-LC:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\platforms\\android-21\\arch-arm/usr/lib" --no-undefined --gc-sections --build-id "C:\\Users\\jdela\\Documents\\Indie Game Dev\\Last Chance\\Temp\\Burst\\burst-aotdc4dxxgj.w4y\\lib_burst_generated_part_2.o" "C:\\Users\\jdela\\Documents\\Indie Game Dev\\Last Chance\\Temp\\Burst\\burst-aotdc4dxxgj.w4y\\lib_burst_generated_part_0.o" "C:\\Users\\jdela\\Documents\\Indie Game Dev\\Last Chance\\Temp\\Burst\\burst-aotdc4dxxgj.w4y\\lib_burst_generated_part_1.o" "C:\\Users\\jdela\\Documents\\Indie Game Dev\\Last Chance\\Temp\\Burst\\burst-aotdc4dxxgj.w4y\\lib_burst_generated_part_2_merged.o" -lm -latomic -lgcc -ldl -lc -lgcc -ldl "C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\\platforms\\android-21\\arch-arm/usr/lib/../lib\\crtend_so.o" C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: cannot open C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/lib/armv7-a/libatomic.a: No such file or directory clang.exe: error: linker command failed with exit code 1 (use -v to see invocation)
Unhandled Exception: Burst.Compiler.IL.Aot.AotLinkerException: The native link step failed. Check previous exception in the log - linker command line : "C:/Users/jdela/Documents/Indie Game Dev/Unity Editors/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe "@C:\Users\jdela\AppData\Local\Temp\tmp853A.tmp"" at Burst.Compiler.IL.Aot.AotNativeLinkBase.RunNativeLinkerTool(String command, String arguments, String errorMessage, String commandType, String workingDirectory, Boolean muteOutputs) at Burst.Compiler.IL.Aot.AotNativeLinkAndroid.Link(TargetCpu targetCpu, List`1 inputFiles, String outputFile, Boolean enableDebugInfo) at Burst.Compiler.IL.Aot.AotCompiler.Link(List`1 groups, String nameSuffix, AotCompilerOptions compilerOptions, TextWriter consoleOut, TextWriter consoleError) at Burst.Bcl.BclApp.LibraryThread.Process(LibraryCompilationRequest libraryRequest) at Burst.Bcl.BclApp.LibraryThread.Run() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
Unity.Burst.Editor.BurstAotCompiler+BclRunner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.burst@1.3.0/Editor/BurstAotCompiler.cs:841) Unity.Burst.Editor.BurstAotCompiler+BclRunner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.burst@1.3.0/Editor/BurstAotCompiler.cs:779) Unity.Burst.Editor.BurstAotCompiler+BclRunner.RunManagedProgram (System.String exe, System.String args, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.burst@1.3.0/Editor/BurstAotCompiler.cs:753) Unity.Burst.Editor.BurstAotCompiler.OnPostBuildPlayerScriptDLLsImpl (UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.burst@1.3.0/Editor/BurstAotCompiler.cs:426) Unity.Burst.Editor.BurstAotCompiler.OnPostBuildPlayerScriptDLLs (UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.burst@1.3.0/Editor/BurstAotCompiler.cs:163) UnityEditor.Build.BuildPipelineInterfaces.OnPostBuildPlayerScriptDLLs (UnityEditor.Build.Reporting.BuildReport report) (at :0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Error building Player: 16 errors
Build completed with a result of 'Failed' in 12 seconds (11971 ms) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
UnityEditor.BuildPlayerWindow+BuildMethodException: 19 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in :0 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in :0 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Your answer
Follow this Question
Related Questions
Unity vs client-side prediction 0 Answers
UNet ClientRPC does not fire 2 Answers
UNet Portal 2 Like Object Interaction Client to Server 1 Answer
Networking: Client-spawned Objects do not appear on Server 0 Answers
How does AssignClientAuthority work? 1 Answer