Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Unable to find player assembly BURST AOT Compiler

Discussion in 'Package Manager' started by MATEOICHIJO, Jul 21, 2020.

  1. MATEOICHIJO

    MATEOICHIJO

    Joined:
    Mar 12, 2019
    Posts:
    7

    Unable to find player assembly: /Users/name/UNITY/ProtoGame/Temp/StagingArea/Data/Managed/UnityEngine.TestRunner.dll
    UnityEngine.Debug:LogWarning(Object)
    Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLsImpl(BuildReport) (at Library/PackageCache/com.unity.burst@1.2.3/Editor/BurstAotCompiler.cs:212)
    Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLs(BuildReport) (at Library/PackageCache/com.unity.burst@1.2.3/Editor/BurstAotCompiler.cs:90)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)


    Using:
    -macOS catalina 10.15.5
    -Unity 2019.4.4f1
    -Burst 1.2.3

    When building for IOS platform Unity throws me this warning. I disabled Burst compilation in (Project settings > Burst AOT Settings) and the warning was gone but I'm afraid that this also disables burst in my build. I want to be able to fix this problem without disabling Burst AOT compiler.
     
  2. tim_jones

    tim_jones

    Unity Technologies

    Joined:
    May 2, 2019
    Posts:
    79
    Hi - thanks for reporting this. As you noted, it is "just" a warning, and you can safely ignore this one, annoying as it may be.

    A fix for this bug will be in the next 2020.2 alpha release, but for previous Unity versions, the workaround is simply to ignore the warning. Unless you have warnings-as-errors enabled... in which case it's more problematic. You would need to disable warnings-as-errors while doing player builds.
     
  3. MATEOICHIJO

    MATEOICHIJO

    Joined:
    Mar 12, 2019
    Posts:
    7
    Even with the error present, is the Burst compilation enabled in my build?
     
  4. edecr

    edecr

    Joined:
    Feb 21, 2014
    Posts:
    2
    Bump, any reply about this question?
     
  5. ndrm

    ndrm

    Joined:
    Jul 25, 2020
    Posts:
    8
    Hi.. can i get some help please.. https://forum.unity.com/threads/cannot-establish-connection-diagnose-help.938618/
     
  6. ek578

    ek578

    Joined:
    Jun 25, 2020
    Posts:
    1
    Hi, I am also getting this log warning but it is failing compilation. Is this a warnings-as-errors issue? How can I disable warnings-as-errors if so?

    Code (CSharp):
    1.  
    2. Unable to find player assembly: /content/svo-games/Project/Temp/StagingArea/Data/Managed/UnityEngine.TestRunner.dll
    3. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    4. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    5. UnityEngine.Logger:Log(LogType, Object)
    6. UnityEngine.Debug:LogWarning(Object)
    7. Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLsImpl(BuildReport) (at Library/PackageCache/com.unity.burst@1.2.3/Editor/BurstAotCompiler.cs:212)
    8. Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLs(BuildReport) (at Library/PackageCache/com.unity.burst@1.2.3/Editor/BurstAotCompiler.cs:90)
    9. UnityEditor.Build.BuildPipelineInterfaces:OnPostBuildPlayerScriptDLLs(BuildReport) (at /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:487)
    10. (Filename: Library/PackageCache/com.unity.burst@1.2.3/Editor/BurstAotCompiler.cs Line: 212)
    11.  
    12. /content/svo-games/Project/Library/PackageCache/com.unity.burst@1.2.3/.Runtime/bcl.exe exited after 3385 ms.
    13. /usr/bin/ld: /usr/lib/llvm-6.0/bin/../lib/LLVMgold.so: error loading plugin: /usr/lib/llvm-6.0/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory
    14. (Filename: unknown Line: 0)
    15.  
    16. clang: error: linker command failed with exit code 1 (use -v to see invocation)
    17. (Filename: unknown Line: 0)
    18.  
    19. BuildFailedException: Burst compiler (1.2.3) failed running
    20.  
    21. stdout:
    22. The native link step failed. Check previous exception in the log - linker command line : "/usr/bin/clang "@/tmp/tmp30e5e4dd.tmp""
    23. stderr:
    24. /usr/bin/ld: /usr/lib/llvm-6.0/bin/../lib/LLVMgold.so: error loading plugin: /usr/lib/llvm-6.0/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory
    25. clang: error: linker command failed with exit code 1 (use -v to see invocation)
    26.  
    27.   at 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) [0x001f4] in /content/svo-games/Project/Library/PackageCache/com.unity.burst@1.2.3/Editor/BurstAotCompiler.cs:752
    28.   at 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) [0x0004d] in /content/svo-games/Project/Library/PackageCache/com.unity.burst@1.2.3/Editor/BurstAotCompiler.cs:690
    29.   at Unity.Burst.Editor.BurstAotCompiler+BclRunner.RunManagedProgram (System.String exe, System.String args, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, UnityEditor.Build.Reporting.BuildReport report) [0x00001] in /content/svo-games/Project/Library/PackageCache/com.unity.burst@1.2.3/Editor/BurstAotCompiler.cs:664
    30.   at Unity.Burst.Editor.BurstAotCompiler.OnPostBuildPlayerScriptDLLsImpl (UnityEditor.Build.Reporting.BuildReport report) [0x0070f] in /content/svo-games/Project/Library/PackageCache/com.unity.burst@1.2.3/Editor/BurstAotCompiler.cs:332
    31.   at Unity.Burst.Editor.BurstAotCompiler.OnPostBuildPlayerScriptDLLs (UnityEditor.Build.Reporting.BuildReport report) [0x0000e] in /content/svo-games/Project/Library/PackageCache/com.unity.burst@1.2.3/Editor/BurstAotCompiler.cs:90
    32.   at UnityEditor.Build.BuildPipelineInterfaces.OnPostBuildPlayerScriptDLLs (UnityEditor.Build.Reporting.BuildReport report) [0x00033] in /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:487
    33. UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
    34. UnityEngine.DebugLogHandler:LogException(Exception, Object)
    35. UnityEngine.Logger:LogException(Exception, Object)
    36. UnityEngine.Debug:LogException(Exception)
    37. UnityEditor.Build.BuildPipelineInterfaces:OnPostBuildPlayerScriptDLLs(BuildReport) (at /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:491)
    38. (Filename: Library/PackageCache/com.unity.burst@1.2.3/Editor/BurstAotCompiler.cs Line: 752)
    39.  
    40. Error building Player: 3 errors
     
unityunity