Search Unity

Official Linux IL2CPP Cross Compiler Packages Now Available in Preview

Discussion in 'Linux' started by andrews_unity, Sep 24, 2020.

  1. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264
    Starting in 2019.4, we introduced IL2CPP support for Linux, which allows developers that build on Linux to gain the performance and scalability benefits of IL2CPP compilation rather than having to rely on Mono. However, this support relied upon building from the Linux editor and it relied upon a developer configuring their own C++ toolchain. That means that it was not suitable for developers that were building for Linux but were not using the Linux editor. It also was challenging for developers to set up a compilation toolchain that was compatible with Unity’s.

    Because Linux is a diverse ecosystem with a wide variety of environments and distributions, we wanted to provide developers with a way to guarantee a consistent runtime no matter which supported Unity platform they chose to build from. To help address this, we've created a new package that contains our own verified sysroot. While you can still choose to leverage your own system's sysroot if you so choose, building against ours will ensure a consistent, compatible end result on all supported Linux distributions.

    In addition to our sysroot package we have supplied a toolchain package that provides a standard toolchain (compiler, linker and related tools) to build the player. This split of the sysroot and toolchain allows us to support cross-compilation of Linux players. With the appropriate toolchain package for the host platform (Editor) and target platform (Player), we can support building of Linux targets (players) on macOS and Windows hosts.

    Our goal with these features is to provide you with a versatile set of plug-and-play solutions that you can pick and choose from to fit your own unique needs, whether that’s using your local machine to build for Linux or whether you’re building target binaries for your Linux servers. We want developers to be able to build and deploy as quickly as possible without having to worry about unnecessary complexities getting it to run. This will ultimately reduce their iteration times and let them get back to what's really important: shipping amazing products.

    Package Installation

    To make using these packages as simple to use as possible, we have created a series of platform-specific toolchain packages that include the necessary build tools and load the sysroot package as a dependency. You simply add the appropriate toolchain package based on the host platform/architecture and target platform/architecture:
    • Linux: com.unity.toolchain.linux-x86_64@0.1.13-preview
    • macOS: com.unity.toolchain.macos-x86_64-linux-x86_64@0.1.15-preview
    • Windows: com.unity.toolchain.win-x86_64-linux-x86_64@0.1.14-preview
    Note that the format of the name is host platform, host architecture, target platform, and target architecture. You can shorten the name if the host and the target are the same.

    For the moment, these packages are not discoverable through the Package Manager UI search function. You can add them by clicking on the “+” in the Package Manager toolbar, selecting “Add package from git URL”, and then typing the name of the package as listed in the table above.

    Once the package is installed, you are set to build on Linux.

    To build on macOS or Windows, you will need the Linux-IL2CPP module to be installed. This module can be installed from the Hub. (You’ll need Hub 2.4.0 or newer.)

    Set the ScriptingBackend in PlayerSettings / Other Settings / Configuration to IL2CPP, select the Linux target, and build.

    The sysroot package and toolchain require approximately 164 MB on Linux and about 1.4GB on macOS and Windows. The bulk of the data is stored in the local application data directory as shown below:
    • Linux: ~/.local/share/unity3d/cache/sysroots
    • macOS: ~/Library/Unity/cache/sysroots
    • Windows: %LocalApplicationData%\unity3d\cache\sysroots
    If necessary, the uncompressed sysroot and toolchain can be relocated by setting the environment variable UNITY_SYSROOT_CACHE to another directory.

    Requirements

    In summary, these are the requirements to build Linux targets:
    • Recent version of Editor: 2019.4.11f1, 2020.1.6f1, 2020.2.0b3
    • Hub 2.4
    • On macOS and Windows, Linux-IL2CPP module installed
    • Correct toolchain for host platform installed
    • ScriptingBackend set to IL2CPP
    Known issues

    On macOS there was an issue with early versions of the Linux-IL2CPP module being installed in the wrong directory, which results in the Linux build target not being found. To fix this, you will need to uninstall the editor and reinstall with the Linux-IL2CPP module. This will pick up the fixed version of the module.

    There is an issue with IL2CPP not handling paths with spaces in them. This will be fixed in a future release.

    Feedback

    We’re looking for feedback on these new packages, so if you have any questions or want to share notes on your experience using them, please feel free to leave us a comment!
     
    Last edited: Sep 30, 2020
    CodeRonnie, Kirsche, Meltdown and 8 others like this.
  2. CommunityUS

    CommunityUS

    Joined:
    Sep 2, 2011
    Posts:
    240
    Works great! Thank you for your hard work on this.
     
  3. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,011
    I found that macos-x86_64-linux-x86_64 package does not work until opening the project manually (non-batch mode) and re-importing sysroot package. If your project has never been opened as non-batch mode, sysroot package does not correctly initialized and failed to build with clang compilation error (missing feature.h header).

    This is critical issue when using Unity with CI tools, like jenkins.
     
  4. PixelJ

    PixelJ

    Unity Technologies

    Joined:
    Nov 1, 2018
    Posts:
    216
    Have you reported this bug? Do you have a minimal repro project?
     
  5. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822
    @andrews_unity I am using Unity 2019.4.9f on Windows.
    I have installed the latest 0.1.16 package from Package Manager.

    i.e
    • Windows: com.unity.toolchain.win-x86_64-linux-x86_64@0.1.16-preview
    I changed backend to IL2CPP, but I get spammed with thre following errors in the editor..

    Code (CSharp):
    1. Failed to initialize sysroot com.unity.toolchain.win-x86_64-linux-x86_64
    2. 0x00007FF6ACC0840C (Unity) StackWalker::GetCurrentCallstack
    3. 0x00007FF6ACC0C3C1 (Unity) StackWalker::ShowCallstack
    4. 0x00007FF6AB2E87A5 (Unity) GetStacktrace
    5. 0x00007FF6AD88826E (Unity) DebugStringToFile
    6. 0x00007FF6ACC677A5 (Unity) DebugLogHandler_CUSTOM_Internal_Log
    7. 0x000001CD6D91D1EB (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
    8. 0x000001CD6D91CDFB (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
    9. 0x000001CD6D91C31E (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
    10. 0x000001CD6D91B8ED (Mono JIT Code) UnityEngine.Debug:Log (object)
    11. 0x000001CDFC0815DB (Mono JIT Code) UnityEditorInternal.SysrootManager:FindSysroot (string,string)
    12. 0x000001CDFC080F0B (Mono JIT Code) UnityEditorInternal.SysrootManager:FindSysroot (UnityEditor.BuildTarget)
    13. 0x000001CDFC080BE3 (Mono JIT Code) [LinuxStandaloneBuildWindowExtension.cs:25] UnityEditor.LinuxStandalone.LinuxStandaloneBuildWindowExtension:GetCannotBuildIl2CppPlayerInCurrentSetupError ()
    14. 0x000001CDFC091B09 (Mono JIT Code) DesktopStandaloneBuildWindowExtension:EnabledBuildButton ()
    15. 0x000001CDFC075915 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
    16. 0x000001CDFC065963 (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
    17. 0x000001CD6D8DBAF0 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
    18. 0x00007FF9EF7DD690 (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
    19. 0x00007FF9EF762912 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
    20. 0x00007FF9EF76BB42 (mono-2.0-bdwgc) [object.c:3073] mono_runtime_invoke_checked
    21. 0x00007FF9EF76C2D9 (mono-2.0-bdwgc) [object.c:5264] mono_runtime_try_invoke_array
    22. 0x00007FF9EF76BAD6 (mono-2.0-bdwgc) [object.c:5142] mono_runtime_invoke_array_checked
    23. 0x00007FF9EF710384 (mono-2.0-bdwgc) [icall.c:3358] ves_icall_InternalInvoke
    24. 0x000001CD6D9CA606 (Mono JIT Code) (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
    25. 0x000001CD6D9C9D4B (Mono JIT Code) System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
    26. 0x000001CD6DB5BB3F (Mono JIT Code) System.Reflection.MethodBase:Invoke (object,object[])
    27. 0x000001CD3916BADB (Mono JIT Code) UnityEditor.HostView:Invoke (string,object)
    28. 0x000001CD3916B94B (Mono JIT Code) UnityEditor.HostView:Invoke (string)
    29. 0x000001CDFC0641CB (Mono JIT Code) UnityEditor.HostView:OldOnGUI ()
    30. 0x000001CCE019169A (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
    31. 0x000001CCE017EB43 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
    32. 0x000001CCE018D8A3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint ()
    33. 0x000001CCE0189136 (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams,bool,single,System.Exception&)
    34. 0x000001CCE01827CB (Mono JIT Code) UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Rect,UnityEngine.Matrix4x4,UnityEngine.UIElements.PanelClearFlags,UnityEngine.Texture,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeArray`1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeArray`1<UnityEngine.Vector4>,System.Exception&)
    35. 0x000001CCE017A24B (Mono JIT Code) UnityEngine.UIElements.UIR.UIRenderDevice:DrawChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Rect,UnityEngine.Matrix4x4,UnityEngine.UIElements.PanelClearFlags,UnityEngine.Texture,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeArray`1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeArray`1<UnityEngine.Vector4>,System.Exception&)
    36. 0x000001CCE01537EB (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChain:Render (UnityEngine.Rect,UnityEngine.Matrix4x4,UnityEngine.UIElements.PanelClearFlags)
    37. 0x000001CCE014E1FB (Mono JIT Code) UnityEngine.UIElements.UIRRepaintUpdater:DrawChain (UnityEngine.Rect,UnityEngine.Matrix4x4)
    38. 0x000001CCE014D1DE (Mono JIT Code) UnityEngine.UIElements.UIRRepaintUpdater:Update ()
    39. 0x000001CD40B63F1A (Mono JIT Code) UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase)
    40. 0x000001CD40B63CB3 (Mono JIT Code) UnityEngine.UIElements.Panel:UpdateForRepaint ()
    41. 0x000001CD40B631DB (Mono JIT Code) UnityEngine.UIElements.Panel:Repaint (UnityEngine.Event)
    42. 0x000001CD40B620F1 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
    43. 0x000001CD40B619EB (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:ProcessEvent (int,intptr)
    44. 0x000001CD40B61253 (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr)
    45. 0x000001CD40B614D3 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_bool_int_intptr (object,intptr,intptr,intptr)
    46. 0x00007FF9EF7DD690 (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
    47. 0x00007FF9EF762912 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
    48. 0x00007FF9EF76B96F (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
    49. 0x00007FF6ACB7AB2E (Unity) scripting_method_invoke
    50. 0x00007FF6ACB7486D (Unity) ScriptingInvocation::Invoke
    51. 0x00007FF6ACB6E87A (Unity) ScriptingInvocation::Invoke<bool>
    52. 0x00007FF6A9EAE0B5 (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
    53. 0x00007FF6AA809674 (Unity) GUIView::ProcessRetainedMode
    54. 0x00007FF6AB30F438 (Unity) GUIView::OnInputEvent
    55. 0x00007FF6AA80956C (Unity) GUIView::ProcessInputEvent
    56. 0x00007FF6AB30560E (Unity) GUIView::DoPaint
    57. 0x00007FF6AB311E8D (Unity) GUIView::RepaintAll
    58. 0x00007FF6AA99C7F7 (Unity) Application::TickTimer
    59. 0x00007FF6AB30E1C0 (Unity) MainMessageLoop
    60. 0x00007FF6AB318398 (Unity) WinMain
    61. 0x00007FF6AE326542 (Unity) __scrt_common_main_seh
    62. 0x00007FFA6A367C24 (KERNEL32) BaseThreadInitThunk
    63. 0x00007FFA6AA8D4D1 (ntdll) RtlUserThreadStart
    64.  
    This leaves the Build window with the 'Building IL2CPP requires a sysroot toolchain' error and the build buttons disabled.

    I am on Unity Hub 2.4.2 and cannot see any Linux Build Support for IL2CPP option? Only Mono?

    See this image
    https://prnt.sc/viae81

    EDIT : I had to uninstall Linux Mono, before I could see the Linux IL2CPP install option.
    It seems both cannot be installed side by side.

    But I still get the error message, after installing the Linux IL2CPP build support package :(
     
    Last edited: Nov 12, 2020
  6. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264

    We have seen this issue happen with a couple folks but have not been able to repro it locally or in our automated testing. Will take this info back and see if we can figure out what's going on.
     
    deus0 and Meltdown like this.
  7. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264
    We know what the issue here is for this, and plan to resolve it in a package/unity update no ETA but hopefully soon.
     
    Kichang-Kim likes this.
  8. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822
    Thanks for the speedy response Andrew, much appreciated!
     
  9. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822
    @andrews_unity Here is some more info to help you reproduce.

    I have cleared the editor logs. And opened the editor. I upgraded to 2019.4.14f1.

    When I first open the editor, all seems good. I get some positive messages telling me the sysroot toolchain is found
    See https://prnt.sc/vib9y8

    Code (CSharp):
    1. Found sysroot: com.unity.sysroot, hp=, ha=, tp=, ta=
    2. 0x00007FF75ADFD2CC (Unity) StackWalker::GetCurrentCallstack
    3. 0x00007FF75AE01281 (Unity) StackWalker::ShowCallstack
    4. 0x00007FF7594C3F55 (Unity) GetStacktrace
    5. 0x00007FF75BA859FE (Unity) DebugStringToFile
    6. 0x00007FF75AE5C695 (Unity) DebugLogHandler_CUSTOM_Internal_Log
    7. 0x0000014824C1750B (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
    8. 0x0000014824C1711B (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
    9. 0x0000014824C1663E (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
    10. 0x0000014824C15C0D (Mono JIT Code) UnityEngine.Debug:Log (object)
    11. 0x0000014824BFBDCB (Mono JIT Code) UnityEditorInternal.SysrootManager:RegisterSysroots ()
    12. 0x0000014824BFB1E3 (Mono JIT Code) UnityEditorInternal.SysrootManager:Initialize ()
    13. 0x0000014824BFB0C3 (Mono JIT Code) [ExtensionModule.cs:20] UnityEditor.LinuxStandalone.TargetExtension:OnLoad ()
    14. 0x0000014824BC36BE (Mono JIT Code) UnityEditor.Modules.ModuleManager:InitializePlatformSupportModules ()
    15. 0x0000014824C0D345 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
    16. 0x00007FF9F0CAD6B0 (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
    17. 0x00007FF9F0C32912 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
    18. 0x00007FF9F0C3B96F (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
    19. 0x00007FF75AD6F93E (Unity) scripting_method_invoke
    20. 0x00007FF75AD6966D (Unity) ScriptingInvocation::Invoke
    21. 0x00007FF75AD63655 (Unity) ScriptingInvocation::Invoke<void>
    22. 0x00007FF758072E4E (Unity) Scripting::UnityEditor::Modules::ModuleManagerProxy::InitializePlatformSupportModules
    23. 0x00007FF75AD3C662 (Unity) MonoManager::SetupLoadedEditorAssemblies
    24. 0x00007FF75AD34573 (Unity) MonoManager::EndReloadAssembly
    25. 0x00007FF75AD3AD07 (Unity) MonoManager::ReloadAssembly
    26. 0x00007FF75911B707 (Unity) LoadDomainAndUserAssemblies
    27. 0x00007FF75911E4C2 (Unity) RegisterScriptsAndTryLoadingExistingUserAssemblies
    28. 0x00007FF75963A209 (Unity) ImportAndPostprocessOutOfDateAssets
    29. 0x00007FF759641FBB (Unity) RefreshInternalV2
    30. 0x00007FF759644C36 (Unity) StopAssetImportingV2
    31. 0x00007FF75963C086 (Unity) InitialScriptRefreshV2
    32. 0x00007FF758B645D5 (Unity) Application::InitializeProject
    33. 0x00007FF7594F3844 (Unity) WinMain
    34. 0x00007FF75C54CFC2 (Unity) __scrt_common_main_seh
    35. 0x00007FFA6A367C24 (KERNEL32) BaseThreadInitThunk
    36. 0x00007FFA6AA8D4D1 (ntdll) RtlUserThreadStart
    37.  
    But as soon as I open File -> Build Settings window, the build settings dialog freezes for a while (about 30 seconds), as a blank dialog. Once it stops freezing, then all the 'Failed to initialize sysroot com.unity.toolchain.win-x86_64-linux-x86_64' error messages appear.

    I have attached my Editor log that captures opening the editor, and then opening the Build Settings window.
     

    Attached Files:

  10. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264
    We have updated the packages:

    Code (Json):
    1.  
    2. com.unity.sysroot                                           "version": "0.1.16-preview",
    3. com.unity.toolchain.macos-x86_64-linux-x86_64               "version": "0.1.17-preview",
    4. com.unity.toolchain.win-x86_64-linux-x86_64                 "version": "0.1.16-preview",
    5. com.unity.toolchain.linux-x86_64                            "version": "0.1.15-preview",
    6. com.unity.sysroot.linux-x86_64                              "version": "0.1.12-preview",

    These updates include some removal of some log spam, as well as resolving some issues with NiceIO conflicting with other packages who are also using it.
     
  11. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264

    Thank for more info shall take a look.
     
  12. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264
    @Meltdown can you try running the editor as administrator? or can you set
    UNITY_SYSROOT_CACHE
    as an env variable to a location that doesn't require admin privilege's

    I see these errors in your log

    ERROR: Can not create symbolic link : A required privilege is not held by the client.

    also can you post the results of winver
     
    Last edited: Nov 13, 2020
    Meltdown likes this.
  13. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822
    Thanks, that worked.

    Here is a screenshot from the WinVer dialog.
    https://prnt.sc/vic477
     
  14. icefallgames

    icefallgames

    Joined:
    Dec 6, 2014
    Posts:
    75
    On Windows, we have:
    - 2019.4.14f1
    - Unity Hub 2.4.2
    - Linux IL2CPP module installed
    - The following three packages installed:
    "com.unity.sysroot": "0.1.16-preview",
    "com.unity.sysroot.linux-x86_64": "0.1.12-preview",
    "com.unity.toolchain.win-x86_64-linux-x86_64": "0.1.16-preview",

    And yet we still get the message "Building Linux IL2CPP player requires a sysroot toolchain package to be installed".

    What's missing?

    (Building Mono Linux works fine)
     
  15. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264
    DO you have your editor logs ?
     
  16. OneManArmy3D

    OneManArmy3D

    Joined:
    Jun 2, 2011
    Posts:
    191
    - 2019.4.15f1
    - 0.1.16-preview
    - Unity Hub 2.4.2
    - Linux IL2CPP module installed
    - Windows 10

    Found sysroot: com.unity.sysroot, hp=, ha=, tp=, ta=
    Found sysroot: com.unity.sysroot.linux-x86_64, hp=, ha=, tp=linux, ta=x86_64
    Found sysroot: com.unity.toolchain.win-x86_64-linux-x86_64, hp=windows, ha=x86_64, tp=linux, ta=x86_64

    And as soon as i am pressing Build, i am getting 100+
    Failed to initialize package: com.unity.toolchain.win-x86_64-linux-x86_64
     
  17. FungusSamurai

    FungusSamurai

    Joined:
    Mar 3, 2016
    Posts:
    1
    -2020.1.14f1
    -0.1.16-preview
    -Unity Hub 2.4.2
    -Linux IL2CPP module installed
    -Windows 10

    Stack 1:
    Failed to initialize sysroot com.unity.toolchain.win-x86_64-linux-x86_64
    UnityEngine.Debug:Log(Object)
    UnityEditorInternal.SysrootManager:FindSysroot(String, String)
    UnityEditorInternal.SysrootManager:FindSysroot(BuildTarget)
    UnityEditor.LinuxStandalone.LinuxStandaloneBuildWindowExtension:GetCannotBuildIl2CppPlayerInCurrentSetupError()
    DesktopStandaloneBuildWindowExtension:ShowIl2CppErrorIfNeeded()
    DesktopStandaloneBuildWindowExtension:ShowPlatformBuildOptions()
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)

    Stack 2:
    Failed to initialize sysroot com.unity.toolchain.win-x86_64-linux-x86_64
    UnityEngine.Debug:Log(Object)
    UnityEditorInternal.SysrootManager:FindSysroot(String, String)
    UnityEditorInternal.SysrootManager:FindSysroot(BuildTarget)
    UnityEditor.LinuxStandalone.LinuxStandaloneBuildWindowExtension:GetCannotBuildIl2CppPlayerInCurrentSetupError()
    DesktopStandaloneBuildWindowExtension:EnabledBuildButton()
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)

    Also worth noting: I set up
    UNITY_SYSROOT_CACHE to go to: C:\dev\toolchain and I can see it added this folder: C:\dev\toolchain\linux-x86 but there's nothing in that file path.
     
  18. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264

    Can you run the editor as admin ? We are working on a new version of the package to solve this issue on windows.
     
  19. JesperBHansen

    JesperBHansen

    Joined:
    Oct 9, 2020
    Posts:
    6
    I'm trying to build a linux il2cpp binary from windows, Using Unity 2019.4.15f1 and
    com.unity.toolchain.win-x86_64-linux-x86_64 "0.1.16-preview"

    It seems like some of the scripts fail to quote some arguments as it fail if the user directory contains spaces :)

    clang++: error: no such file or directory: '@C:\Users\Jesper'
    clang++: error: no such file or directory: 'Hansen\AppData\Local\Temp\il2cpp\clangargs_A32060A1B9770EB02CC8B1D29FF92DD7.txt'
    clang++: error: no input files
     
  20. davidbuckley_unity

    davidbuckley_unity

    Unity Technologies

    Joined:
    May 4, 2018
    Posts:
    6
    We have updated the packages:

    Code (json):
    1. com.unity.sysroot/package.json: 0.1.17-preview
    2. com.unity.sysroot.linux-x86_64/package.json: 0.1.13-preview
    3. com.unity.toolchain.linux-x86_64/package.json: 0.1.16-preview
    4. com.unity.toolchain.macos-x86_64-linux-x86_64/package.json: 0.1.18-preview
    5. com.unity.toolchain.win-x86_64-linux-x86_64/package.json: 0.1.17-preview
    6.  
    This update removes the requirment for symlink privilege on windows.
     
    OneManArmy3D likes this.
  21. Lance9527

    Lance9527

    Joined:
    Jul 4, 2012
    Posts:
    12
    Hi, I can build headless target with 0.1.17-preview of toolchain and unity 2019.4.13, and it runs on ubuntu, but on centos 7.4 I get "Failed to load il2cpp". How could I fix this problem? Thanks!
     
  22. BHT1SI

    BHT1SI

    Joined:
    May 8, 2019
    Posts:
    4
    Hello! :)

    My setup:
    • Unity Editor -> 2019.4.16f1
    • com.unity.toolchain.linux-x86_64 -> 0.1.16-preview
    • Unity Hub -> 2.4.2
    • Linux IL2CPP module is installed
    • Windows 10
    Console says:

    Found sysroot: com.unity.sysroot, hp=, ha=, tp=, ta=
    Found sysroot: com.unity.toolchain.linux-x86_64, hp=linux, ha=x86_64, tp=linux, ta=x86_64
    Found sysroot: com.unity.sysroot.linux-x86_64, hp=, ha=, tp=linux, ta=x86_64


    Packages say:

    com.unity.sysroot: "version": "0.1.17-preview"
    com.unity.sysroot.linux-x86_64: "version": "0.1.13-preview"
    com.unity.toolchain.linux-x86_64: "version": "0.1.16-preview"


    I cannot build via the Build Settings UI, when I choose Linux as Target Platform I get the Error Helpbox: Building Linux IL2CPP player requires a sysroot toolchain package to be installed. When I start a Linux build via code I get the following error stack:


    Exception: [...]\Unity\Hub\Editor\2019.4.16f1\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe did not run properly!

    Failed running "[...]\Unity\Hub\Editor\2019.4.16f1\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe" --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="Linux" --architecture="x64" --configuration="Release" --outputpath="[...]\Temp/StagingArea/Data\Native\GameAssembly.so" --cachedirectory="[...]\Assets\..\Library/il2cpp_cache" --incremental-g-c-time-slice=3 --profiler-report --map-file-parser="[...]/Unity/Hub/Editor/2019.4.16f1/Editor/Data/Tools/MapFileParser/MapFileParser.exe" --directory=[...]/Temp/StagingArea/Data/Managed --generatedcppdir=[...]/Temp/StagingArea/Data/il2cppOutput

    stdout:
    il2cpp.exe didn't catch exception: System.InvalidOperationException: C++ code builder is unable to build C++ code for Linux: Could not find valid clang executable at clang.exe
    at Unity.IL2CPP.Building.CppProgramBuilder.ThrowIfCannotBuildInCurrentEnvironment()
    at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    at il2cpp.Program.DoRun(String[] args, List`1 foundAssemblies)
    at il2cpp.Program.Run(String[] args, Boolean setInvariantCulture)
    at il2cpp.Program.Main(String[] args)
    stderr:

    Unhandled Exception: System.InvalidOperationException: C++ code builder is unable to build C++ code for Linux: Could not find valid clang executable at clang.exe
    at Unity.IL2CPP.Building.CppProgramBuilder.ThrowIfCannotBuildInCurrentEnvironment()
    at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    at il2cpp.Program.DoRun(String[] args, List`1 foundAssemblies)
    at il2cpp.Program.Run(String[] args, Boolean setInvariantCulture)
    at il2cpp.Program.Main(String[] args)

    UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <7d90b28560b644ce87b8263efcc36eed>:0)
    UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at <7d90b28560b644ce87b8263efcc36eed>:0)
    UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo, System.String workingDirectory) (at <7d90b28560b644ce87b8263efcc36eed>:0)
    UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (UnityEditor.Il2Cpp.Il2CppBuildPipelineData data, System.String outputDirectory, System.String workingDirectory, System.Boolean platformSupportsManagedDebugging) (at <7d90b28560b644ce87b8263efcc36eed>:0)
    UnityEditorInternal.IL2CPPBuilder.Run () (at <7d90b28560b644ce87b8263efcc36eed>:0)
    UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <7d90b28560b644ce87b8263efcc36eed>:0)
    DesktopStandalonePostProcessor.SetupStagingArea (UnityEditor.Modules.BuildPostProcessArgs args, System.Collections.Generic.HashSet`1[T] filesToNotOverwrite) (at <7d90b28560b644ce87b8263efcc36eed>:0)
    DesktopStandalonePostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at <7d90b28560b644ce87b8263efcc36eed>:0)
    Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
    DesktopStandalonePostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at <7d90b28560b644ce87b8263efcc36eed>:0)
    UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <7d90b28560b644ce87b8263efcc36eed>:0)
    UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <7d90b28560b644ce87b8263efcc36eed>:0)
    UnityEditor.BuildPipeline:BuildPlayer(BuildPlayerOptions)
    Builder:Build(BuildTarget, Boolean) (at Assets/Editor/Builder.cs:255)
    Builder:BuildLinux_Release() (at Assets/Editor/Builder.cs:131)


    What am I missing?

    Maybe this is also relevant: The Editor was not added from the Hub directly as we are sitting behind a Proxy, so I downloaded the Editor and modules manually via the website and added them to the Hub by locating them.
     
    Last edited: Jan 21, 2021
  23. OneManArmy3D

    OneManArmy3D

    Joined:
    Jun 2, 2011
    Posts:
    191
    I had the same problem with 0.1.16-preview. After installing 0.1.17-preview everything works perfectly on Windows 10 and u 2019.4 LTS.
     
  24. Lance9527

    Lance9527

    Joined:
    Jul 4, 2012
    Posts:
    12
    I can run build on centos 8 now, but the build crash sometimes... So I'll stick to mono for the moment...
     
  25. Deceleris

    Deceleris

    Joined:
    Jan 3, 2018
    Posts:
    22
    My setup:
    • Unity Editor -> 2019.4.16f1
    • com.unity.toolchain.linux-x86_64 -> 0.1.16-preview
    • Unity Hub -> 2.4.2
    • Linux IL2CPP module is installed
    • Windows 10
    I've the same as above..
    I was trying to run a server on an AWS linux instance.
    It worked perfectly since the last week and suddenly I got this :

    "Building Linux IL2CPP player requires a sysroot toolchain package to be installed"

    And then I cant test anymore my new build :/

     
  26. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Posts:
    345
    I'm running the following on Windows 10
    • Editor: 2019.4.16f1
    • Hub 2.4.2
    • Linux-IL2CPP module installed
    • Correct toolchain for host platform installed
    • ScriptingBackend set to IL2CPP
    Yet is says IL2CPP is not installed, any ideas?
    upload_2020-12-21_18-9-27.png

    upload_2020-12-21_18-9-56.png
     
    Flubzies and LostLight1 like this.
  27. steveo98501

    steveo98501

    Joined:
    Dec 27, 2020
    Posts:
    2
    So I have Linux Build Support Installed, and when I try to build anything such as WebGL I get an error in IL2CPP.exe. Now I am not sure why Unity would even be trying to execute an .exe file from my Ubuntu machine but it is. I have never successfully built anything other than a Linux game. Not able to build for Android, WebGL or any other platform.

    But here is my install options:

    Screenshot from 2020-12-28 17-40-47.png
     
    Last edited: Dec 29, 2020
  28. eheimburg

    eheimburg

    Joined:
    Apr 1, 2009
    Posts:
    34
    I am also unable to make this work cross-platform. (I'm in a Windows dev environment with 2019.4.17f1, trying to make linux IL2cpp builds). I installed the IL2cpp module from the installer. As expected, I then saw the message in the Build Settings window about needing the sysroot toolchain package. But after installing that package, the message in the build window changed to say the IL2CPP back-end isn't installed.
    • I see no errors in the console log. I get the three lines of log-spew from the toolchain module as it starts up, but no log messages after that.
    • I tried both the .16 version of the toolchain, since it was linked here, and the .18 version since it's the newest. Same results
    • I restarted the editor after each module change in case something was getting stuck in memory
    • I also tried the previous version of LTS (2019.4.16f1), same results
    • I also tried running Unity as administrator, since it was mentioned above. And rebooting, then trying again. And uninstalling the module, rebooting, reinstalling while running as Administrator... all kinds of permutations. Same results.
     
  29. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Posts:
    345
    I got it to work by re-installing Unity
     
  30. Mctuggernuts25

    Mctuggernuts25

    Joined:
    May 26, 2020
    Posts:
    8
    I am using 2019.4.18f. On Windows Platform trying to do a server build for Linux. I have installed the above toolchain package but I get the following error

    "Burst requires gcc/clang toolchains to be correctly installed in order to build a standalone player for Linux with X64_SSE4
    Unable to find /usr/bin/clang or /usr/bin/gcc, is the gcc/clang toolchain installed?
    stderr:"

    Can anyone help me please?

    EDIT: Solved! - Had to update the Burst Package in the Packet Manager
     
    Last edited: Jan 17, 2021
    sheredom likes this.
  31. Darkgaze

    Darkgaze

    Joined:
    Apr 3, 2017
    Posts:
    397
    I feel ignorant here: Where do you get the package?
    com.unity.toolchain.linux-x86_64@0.1.13-preview

    I can't find it in the previews packages list in the package manager inside Unity. I'm using 2019.4.15f.
     
  32. BHT1SI

    BHT1SI

    Joined:
    May 8, 2019
    Posts:
    4
    I do not see any 0.1.17-preview package when I enter it in the package manager via git URL, where did you find it? It is also not an option to update from the existing package 0.1.16...
     
    Darkgaze likes this.
  33. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822
    They are not in the package list, you need to click on the + button on the top left of the Package Manager, and select Add package from Git Url Here's a screenshot., and paste the entire package name...

    i.e
    com.unity.toolchain.win-x86_64-linux-x86_64


    Here is a list of package names, choose the correct one for your OS...

    Code (Json):
    1. com.unity.toolchain.macos-x86_64-linux-x86_64        
    2. com.unity.toolchain.win-x86_64-linux-x86_64          
    3. com.unity.toolchain.linux-x86_64                      
    4. com.unity.sysroot.linux-x86_64                              
    It will install the latest version automatically.
    You also need the sysroot package, click the + again and select Add package from Git Url, and paste the entire package name...

    Code (Json):
    1. com.unity.sysroot
    The packages will then be listed in Package Manager under..

    SysRoot Base
    Toolchain [OS Name] Linux 64
     
    Last edited: Jan 26, 2021
  34. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822
    @andrews_unity For some reason this problem has reared its ugly head again. Strangely, I didn't have this problem yesterday, but opening the same project today I now have this issue.

    In the build window, the error 'Building Linux IL2CPP player requires a sysroot toolchain package to be installed.'

    I am running Unity hub as Administrator, and I have set the Unity editor.exe compatibility to also run as Administrator.
    I have the latest versions of the sysroot and toolchain packages.

    Code (csharp):
    1.  
    2.     com.unity.sysroot@0.1.18-preview
    3.     com.unity.toolchain.linux-x86_64@0.1.17-preview
    4.     com.unity.toolchain.win-x86_64-linux-x86_64@0.1.18-preview
    5.  
    I tried removing them and adding them again, no difference.

    I am trying to build IL2CPP, and I do not have the Linux Mono build package insalled.
    I only have the IL2CPP build package installed.



    Here is my editor log...

    Code (CSharp):
    1. [LicensingClient] ERROR Failed to connect to local IPC
    2. [Licensing::Module] Failed to connect to channel: LicenseClient-greg
    3. [Licensing::Module] Successfully launched the LicensingClient
    4. [Licensing::Module] Successfully connected to LicensingClient on channel: LicenseClient-greg
    5. [Licensing::Module] Successfully launched and connected to LicensingClient
    6. Entitlement-based licensing initiated
    7. [LicensingClient] Licenses Updated successfully in LicensingClient
    8.  
    9. LICENSE SYSTEM [2021127 18:17:38] Next license update check is after 2020-09-19T22:22:58
    10.  
    11.  
    12. LICENSE SYSTEM [2021127 18:17:38] Current license is already valid and activated. Skipping license activation process (Provided username/password will be ignored).
    13. Built from '2019.4/release' branch; Version is '2019.4.14f1 (4037e52648cd) revision 4208613'; Using compiler version '191627012'
    14. OS: 'Windows 10  (10.0.0) 64bit' Language: 'en' Physical Memory: 16304 MB
    15. [Licensing::Module] Serial number assigned to: "SB-34NE-6PT2-G8F4-XB3A-XXXX"\nBatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 1
    16. [Package Manager] Server::Start -- Port 55229 was selected
    17.  
    18. COMMAND LINE ARGUMENTS:
    19. C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Unity.exe
    20. -projectpath
    21. C:/Projects/unity-simple
    22. -useHub
    23. -hubIPC
    24. -cloudEnvironment
    25. production
    26. -hubSessionId
    27. d6bde900-605c-11eb-8318-7d5611cb127f
    28. -accessToken
    29. cewOK3WC8dCewhs8AUPCPu1W0u3dP-B439gHfVQz2Ic010f
    30. Successfully changed project path to: C:/Projects/unity-simple
    31. C:/Projects/unity-simple
    32. Using Asset Import Pipeline V2.
    33. Adding genesis user token [Package Manager] Done resolving packages in 0.63s seconds
    34. [Package Manager] Done checking package constraints in 0.01s seconds
    35. [Package Manager]
    36. Registered 52 packages:
    37.   Packages from [https://packages.unity.com]:
    38.     com.unity.ads@3.5.0 (location: C:\Projects\unity-simple\Library\PackageCache\com.unity.ads@3.5.0)
    39.     com.unity.analytics@3.3.5 (location: C:\Projects\unity-simple\Library\PackageCache\com.unity.analytics@3.3.5)
    40.     com.unity.collab-proxy@1.2.16 (location: C:\Projects\unity-simple\Library\PackageCache\com.unity.collab-proxy@1.2.16)
    41.     com.unity.ide.rider@1.1.4 (location: C:\Projects\unity-simple\Library\PackageCache\com.unity.ide.rider@1.1.4)
    42.     com.unity.ide.vscode@1.2.2 (location: C:\Projects\unity-simple\Library\PackageCache\com.unity.ide.vscode@1.2.2)
    43.     com.unity.multiplayer-hlapi@1.0.6 (location: C:\Projects\unity-simple\Library\PackageCache\com.unity.multiplayer-hlapi@1.0.6)
    44.     com.unity.purchasing@2.1.1 (location: C:\Projects\unity-simple\Library\PackageCache\com.unity.purchasing@2.1.1)
    45.     com.unity.sysroot@0.1.18-preview (location: C:\Projects\unity-simple\Library\PackageCache\com.unity.sysroot@0.1.18-preview)
    46.     com.unity.test-framework@1.1.18 (location: C:\Projects\unity-simple\Library\PackageCache\com.unity.test-framework@1.1.18)
    47.     com.unity.textmeshpro@2.0.1 (location: C:\Projects\unity-simple\Library\PackageCache\com.unity.textmeshpro@2.0.1)
    48.     com.unity.timeline@1.2.6 (location: C:\Projects\unity-simple\Library\PackageCache\com.unity.timeline@1.2.6)
    49.     com.unity.toolchain.linux-x86_64@0.1.17-preview (location: C:\Projects\unity-simple\Library\PackageCache\com.unity.toolchain.linux-x86_64@0.1.17-preview)
    50.     com.unity.toolchain.win-x86_64-linux-x86_64@0.1.18-preview (location: C:\Projects\unity-simple\Library\PackageCache\com.unity.toolchain.win-x86_64-linux-x86_64@0.1.18-preview)
    51.     com.unity.xr.legacyinputhelpers@2.1.4 (location: C:\Projects\unity-simple\Library\PackageCache\com.unity.xr.legacyinputhelpers@2.1.4)
    52.     com.unity.sysroot.linux-x86_64@0.1.14-preview (location: C:\Projects\unity-simple\Library\PackageCache\com.unity.sysroot.linux-x86_64@0.1.14-preview)
    53.     com.unity.ext.nunit@1.0.0 (location: C:\Projects\unity-simple\Library\PackageCache\com.unity.ext.nunit@1.0.0)
    54.     nuget.mono-cecil@0.1.6-preview (location: C:\Projects\unity-simple\Library\PackageCache\nuget.mono-cecil@0.1.6-preview)
    55.   Built-in packages:
    56.     com.unity.2d.sprite@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.2d.sprite)
    57.     com.unity.2d.tilemap@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.2d.tilemap)
    58.     com.unity.ugui@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.ugui)
    59.     com.unity.modules.ai@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.ai)
    60.     com.unity.modules.androidjni@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.androidjni)
    61.     com.unity.modules.animation@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.animation)
    62.     com.unity.modules.assetbundle@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.assetbundle)
    63.     com.unity.modules.audio@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.audio)
    64.     com.unity.modules.cloth@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.cloth)
    65.     com.unity.modules.director@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.director)
    66.     com.unity.modules.imageconversion@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.imageconversion)
    67.     com.unity.modules.imgui@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.imgui)
    68.     com.unity.modules.jsonserialize@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.jsonserialize)
    69.     com.unity.modules.particlesystem@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.particlesystem)
    70.     com.unity.modules.physics@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.physics)
    71.     com.unity.modules.physics2d@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.physics2d)
    72.     com.unity.modules.screencapture@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.screencapture)
    73.     com.unity.modules.terrain@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.terrain)
    74.     com.unity.modules.terrainphysics@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.terrainphysics)
    75.     com.unity.modules.tilemap@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.tilemap)
    76.     com.unity.modules.ui@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.ui)
    77.     com.unity.modules.uielements@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.uielements)
    78.     com.unity.modules.umbra@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.umbra)
    79.     com.unity.modules.unityanalytics@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.unityanalytics)
    80.     com.unity.modules.unitywebrequest@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.unitywebrequest)
    81.     com.unity.modules.unitywebrequestassetbundle@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.unitywebrequestassetbundle)
    82.     com.unity.modules.unitywebrequestaudio@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.unitywebrequestaudio)
    83.     com.unity.modules.unitywebrequesttexture@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.unitywebrequesttexture)
    84.     com.unity.modules.unitywebrequestwww@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.unitywebrequestwww)
    85.     com.unity.modules.vehicles@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.vehicles)
    86.     com.unity.modules.video@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.video)
    87.     com.unity.modules.vr@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.vr)
    88.     com.unity.modules.wind@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.wind)
    89.     com.unity.modules.xr@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.xr)
    90.     com.unity.modules.subsystems@1.0.0 (location: C:\Program Files\Unity\Hub\Editor\2019.4.14f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.modules.subsystems)
    91.  
    92. [Subsystems] No new subsystems found in resolved package list.
    93. [Package Manager] Done registering packages in 0.05s seconds
    94. Refreshing native plugins compatible for Editor in 42.30 ms, found 0 plugins.
    95. Preloading 0 native plugins for Editor in 0.00 ms.
    96. IsTimeToCheckForNewEditor: Update time 1611725529 current 1611724660
    97. Initialize engine version: 2019.4.14f1 (4037e52648cd)
    98. [Subsystems] Discovering subsystems at path C:/Program Files/Unity/Hub/Editor/2019.4.14f1/Editor/Data/Resources/UnitySubsystems
    99. [Subsystems] Discovering subsystems at path C:/Projects/unity-simple/Assets
    100. GfxDevice: creating device client; threaded=1
    101. Direct3D:
    102.     Version:  Direct3D 11.0 [level 11.1]
    103.     Renderer: NVIDIA GeForce RTX 3080 (ID=0x2206)
    104.     Vendor:
    105.     VRAM:     10077 MB
    106.     Driver:   27.21.14.6109
    107. Initialize mono
    108. Mono path[0] = 'C:/Program Files/Unity/Hub/Editor/2019.4.14f1/Editor/Data/Managed'
    109. Mono path[1] = 'C:/Program Files/Unity/Hub/Editor/2019.4.14f1/Editor/Data/MonoBleedingEdge/lib/mono/unityjit'
    110. Mono config path = 'C:/Program Files/Unity/Hub/Editor/2019.4.14f1/Editor/Data/MonoBleedingEdge/etc'
    111. Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56284
    112. ImportWorker Server TCP listen port: 51639
    113. Begin MonoManager ReloadAssembly
    114. Registering precompiled unity dll's ...
    115. Register platform support module: C:/Program Files/Unity/Hub/Editor/2019.4.14f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
    116. Register platform support module: C:/Program Files/Unity/Hub/Editor/2019.4.14f1/Editor/Data/PlaybackEngines/WebGLSupport/UnityEditor.WebGL.Extensions.dll
    117. Register platform support module: C:/Program Files/Unity/Hub/Editor/2019.4.14f1/Editor/Data/PlaybackEngines/LinuxStandaloneSupport/UnityEditor.LinuxStandalone.Extensions.dll
    118. Register platform support module: C:/Program Files/Unity/Hub/Editor/2019.4.14f1/Editor/Data/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll
    119. Registered in 0.005033 seconds.
    120. Native extension for Android target not found
    121. Native extension for LinuxStandalone target not found
    122. Native extension for WebGL target not found
    123. Native extension for WindowsStandalone target not found
    124. Refreshing native plugins compatible for Editor in 32.79 ms, found 0 plugins.
    125. Preloading 0 native plugins for Editor in 0.00 ms.
    126. Mono: successfully reloaded assembly
    127. - Completed reload, in  2.407 seconds
    128. Registering precompiled user dll's ...
    129. Registered in 0.065764 seconds.
    130. Platform modules already initialized, skipping
    131. Validating Project structure ... 0.004114 seconds.
    132. Shader import version has changed; will reimport all shaders...
    133. Upgrading shader files ...0.004016 seconds.
    134. Begin MonoManager ReloadAssembly
    135. Symbol file LoadedFromMemory doesn't match image C:\Projects\unity-simple\Library\PackageCache\com.unity.ext.nunit@1.0.0\net35\unity-custom\nunit.framework.dll
    136. Native extension for Android target not found
    137. Native extension for LinuxStandalone target not found
    138. Native extension for WebGL target not found
    139. Native extension for WindowsStandalone target not found
    140. Refreshing native plugins compatible for Editor in 0.53 ms, found 0 plugins.
    141. Preloading 0 native plugins for Editor in 0.00 ms.
    142. Adding genesis user token Mono: successfully reloaded assembly
    143. - Completed reload, in  0.899 seconds
    144. Platform modules already initialized, skipping
    145. RefreshInfo: InitialScriptRefreshV2(NoUpdateAssetOptions)
    146. RefreshProfiler: Total: 1667.386ms
    147.    InvokeBeforeRefreshCallbacks: 0.448ms
    148.    ApplyChangesToAssetFolders: 0.068ms
    149.    WriteModifiedImportersToTextMetaFiles: 0.000ms
    150.    CleanLegacyArtifacts: 0.000ms
    151.    Scan: 37.252ms
    152.    OnSourceAssetsModified: 0.000ms
    153.    UnregisterDeletedAssets: 0.000ms
    154.    InitializeImportedAssetsSnapshot: 0.172ms
    155.    GetAllGuidsForCategorization: 0.070ms
    156.    CategorizeAssets: 50.783ms
    157.    ImportAndPostprocessOutOfDateAssets: 1569.368ms (1568.715ms without children)
    158.        ImportManagerImport: 0.000ms (0.000ms without children)
    159.            ImportInProcess: 0.000ms
    160.            ImportOutOfProcess: 0.000ms
    161.            UpdateCategorizedAssets: 0.000ms
    162.            RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children)
    163.                RemoteAssetCacheResolve: 0.000ms
    164.                RemoteAssetCacheDownloadFile: 0.000ms
    165.        CompileScripts: 0.000ms
    166.        PostProcessAllAssets: 0.000ms
    167.        ReloadImportedAssets: 0.000ms
    168.        VerifyAssetsAreUpToDateAndCorrect: 0.000ms
    169.        EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.143ms
    170.        InitializingProgressBar: 0.004ms
    171.        PostProcessAllAssetNotificationsAddChangedAssets: 0.157ms
    172.        OnDemandSchedulerStart: 0.000ms
    173.        RestoreLoadedAssetsState: 0.349ms
    174.    InvokeProjectHasChanged: 0.000ms
    175.    UpdateImportedAssetsSnapshot: 0.000ms
    176.    ReloadSourceAssets: 0.456ms
    177.    UnloadImportedAssets: 0.004ms
    178.    Hotreload: 0.271ms
    179.    FixTempGuids: 0.005ms
    180.    VerifyGuidPMRegistrations: 0.000ms
    181.    GatherAllCurrentPrimaryArtifactRevisions: 0.000ms
    182.    UnloadStreamsBegin: 0.336ms
    183.    LoadedImportedAssetsSnapshotReleaseGCHandles: 0.008ms
    184.    GetLoadedSourceAssetsSnapshot: 0.408ms
    185.    PersistCurrentRevisions: 0.000ms
    186.    UnloadStreamsEnd: 7.588ms
    187.    GenerateScriptTypeHashes: 0.052ms
    188.    Untracked: 0.149ms
    189. Refresh completed in 0.079626 seconds.
    190. RefreshInfo: RefreshV2(ForceSynchronousImport)
    191. RefreshProfiler: Total: 79.607ms
    192.    InvokeBeforeRefreshCallbacks: 0.532ms
    193.    ApplyChangesToAssetFolders: 0.071ms
    194.    WriteModifiedImportersToTextMetaFiles: 0.000ms
    195.    CleanLegacyArtifacts: 0.000ms
    196.    Scan: 35.901ms
    197.    OnSourceAssetsModified: 0.000ms
    198.    UnregisterDeletedAssets: 0.000ms
    199.    InitializeImportedAssetsSnapshot: 3.874ms
    200.    GetAllGuidsForCategorization: 0.073ms
    201.    CategorizeAssets: 34.357ms
    202.    ImportAndPostprocessOutOfDateAssets: 2.389ms (1.070ms without children)
    203.        ImportManagerImport: 0.000ms (0.000ms without children)
    204.            ImportInProcess: 0.000ms
    205.            ImportOutOfProcess: 0.000ms
    206.            UpdateCategorizedAssets: 0.000ms
    207.            RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children)
    208.                RemoteAssetCacheResolve: 0.000ms
    209.                RemoteAssetCacheDownloadFile: 0.000ms
    210.        CompileScripts: 0.000ms
    211.        PostProcessAllAssets: 0.000ms
    212.        ReloadImportedAssets: 0.000ms
    213.        VerifyAssetsAreUpToDateAndCorrect: 0.000ms
    214.        EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.150ms
    215.        InitializingProgressBar: 0.000ms
    216.        PostProcessAllAssetNotificationsAddChangedAssets: 0.102ms
    217.        OnDemandSchedulerStart: 0.358ms
    218.        RestoreLoadedAssetsState: 0.709ms
    219.    InvokeProjectHasChanged: 0.000ms
    220.    UpdateImportedAssetsSnapshot: 0.000ms
    221.    ReloadSourceAssets: 0.348ms
    222.    UnloadImportedAssets: 0.059ms
    223.    Hotreload: 0.026ms
    224.    FixTempGuids: 0.004ms
    225.    VerifyGuidPMRegistrations: 0.000ms
    226.    GatherAllCurrentPrimaryArtifactRevisions: 0.144ms
    227.    UnloadStreamsBegin: 0.007ms
    228.    LoadedImportedAssetsSnapshotReleaseGCHandles: 0.636ms
    229.    GetLoadedSourceAssetsSnapshot: 1.258ms
    230.    PersistCurrentRevisions: 0.000ms
    231.    UnloadStreamsEnd: 0.007ms
    232.    GenerateScriptTypeHashes: 1.657ms
    233.    Untracked: -0.080ms
    234. RefreshInfo: StopAssetImportingV2(ForceSynchronousImport)
    235. RefreshProfiler: Total: 8.523ms
    236.    InvokeBeforeRefreshCallbacks: 0.461ms
    237.    ApplyChangesToAssetFolders: 0.066ms
    238.    WriteModifiedImportersToTextMetaFiles: 0.000ms
    239.    CleanLegacyArtifacts: 0.000ms
    240.    Scan: 3.659ms
    241.    OnSourceAssetsModified: 0.000ms
    242.    UnregisterDeletedAssets: 0.000ms
    243.    InitializeImportedAssetsSnapshot: 2.491ms
    244.    GetAllGuidsForCategorization: 0.000ms
    245.    CategorizeAssets: 0.000ms
    246.    ImportAndPostprocessOutOfDateAssets: 0.000ms (0.000ms without children)
    247.        ImportManagerImport: 0.000ms (0.000ms without children)
    248.            ImportInProcess: 0.000ms
    249.            ImportOutOfProcess: 0.000ms
    250.            UpdateCategorizedAssets: 0.000ms
    251.            RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children)
    252.                RemoteAssetCacheResolve: 0.000ms
    253.                RemoteAssetCacheDownloadFile: 0.000ms
    254.        CompileScripts: 0.000ms
    255.        PostProcessAllAssets: 0.000ms
    256.        ReloadImportedAssets: 0.000ms
    257.        VerifyAssetsAreUpToDateAndCorrect: 0.000ms
    258.        EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.000ms
    259.        InitializingProgressBar: 0.000ms
    260.        PostProcessAllAssetNotificationsAddChangedAssets: 0.000ms
    261.        OnDemandSchedulerStart: 0.000ms
    262.        RestoreLoadedAssetsState: 0.000ms
    263.    InvokeProjectHasChanged: 0.000ms
    264.    UpdateImportedAssetsSnapshot: 0.000ms
    265.    ReloadSourceAssets: 0.000ms
    266.    UnloadImportedAssets: 0.000ms
    267.    Hotreload: 0.028ms
    268.    FixTempGuids: 0.004ms
    269.    VerifyGuidPMRegistrations: 0.000ms
    270.    GatherAllCurrentPrimaryArtifactRevisions: 0.129ms
    271.    UnloadStreamsBegin: 0.019ms
    272.    LoadedImportedAssetsSnapshotReleaseGCHandles: 0.548ms
    273.    GetLoadedSourceAssetsSnapshot: 0.429ms
    274.    PersistCurrentRevisions: 0.000ms
    275.    UnloadStreamsEnd: 0.008ms
    276.    GenerateScriptTypeHashes: 0.000ms
    277.    Untracked: 0.680ms
    278. Refresh completed in 0.074290 seconds.
    279. RefreshInfo: RefreshV2(NoUpdateAssetOptions)
    280. RefreshProfiler: Total: 74.270ms
    281.    InvokeBeforeRefreshCallbacks: 0.503ms
    282.    ApplyChangesToAssetFolders: 0.068ms
    283.    WriteModifiedImportersToTextMetaFiles: 0.000ms
    284.    CleanLegacyArtifacts: 0.000ms
    285.    Scan: 34.996ms
    286.    OnSourceAssetsModified: 0.000ms
    287.    UnregisterDeletedAssets: 0.000ms
    288.    InitializeImportedAssetsSnapshot: 2.878ms
    289.    GetAllGuidsForCategorization: 0.076ms
    290.    CategorizeAssets: 31.647ms
    291.    ImportAndPostprocessOutOfDateAssets: 1.800ms (0.695ms without children)
    292.        ImportManagerImport: 0.000ms (0.000ms without children)
    293.            ImportInProcess: 0.000ms
    294.            ImportOutOfProcess: 0.000ms
    295.            UpdateCategorizedAssets: 0.000ms
    296.            RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children)
    297.                RemoteAssetCacheResolve: 0.000ms
    298.                RemoteAssetCacheDownloadFile: 0.000ms
    299.        CompileScripts: 0.000ms
    300.        PostProcessAllAssets: 0.000ms
    301.        ReloadImportedAssets: 0.000ms
    302.        VerifyAssetsAreUpToDateAndCorrect: 0.000ms
    303.        EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.152ms
    304.        InitializingProgressBar: 0.000ms
    305.        PostProcessAllAssetNotificationsAddChangedAssets: 0.101ms
    306.        OnDemandSchedulerStart: 0.136ms
    307.        RestoreLoadedAssetsState: 0.716ms
    308.    InvokeProjectHasChanged: 0.000ms
    309.    UpdateImportedAssetsSnapshot: 0.000ms
    310.    ReloadSourceAssets: 0.683ms
    311.    UnloadImportedAssets: 0.064ms
    312.    Hotreload: 0.048ms
    313.    FixTempGuids: 0.004ms
    314.    VerifyGuidPMRegistrations: 0.000ms
    315.    GatherAllCurrentPrimaryArtifactRevisions: 0.142ms
    316.    UnloadStreamsBegin: 0.026ms
    317.    LoadedImportedAssetsSnapshotReleaseGCHandles: 0.539ms
    318.    GetLoadedSourceAssetsSnapshot: 1.157ms
    319.    PersistCurrentRevisions: 0.000ms
    320.    UnloadStreamsEnd: 0.008ms
    321.    GenerateScriptTypeHashes: 0.000ms
    322.    Untracked: -0.370ms
    323. Launched and connected shader compiler UnityShaderCompiler.exe after 0.04 seconds
    324. Initializing Unity extensions:
    325. 'C:/Program Files/Unity/Hub/Editor/2019.4.14f1/Editor/Data/UnityExtensions/Unity/UnityVR/Editor/UnityEditor.VR.dll'  GUID: 4ba2329b63d54f0187bcaa12486b1b0f
    326. Unloading 157 Unused Serialized files (Serialized files now loaded: 0)
    327. Loaded scene 'Assets/Scenes/AgonesUnitySimple.unity'
    328.    Deserialize:            29.967 ms
    329.    Integration:            7.995 ms
    330.    Integration of assets:  1.347 ms
    331.    Thread Wait Time:       18.649 ms
    332.    Total Operation Time:   57.958 ms
    333. System memory in use before: 53.1 MB.
    334. System memory in use after: 52.5 MB.
    335.  
    336. Unloading 201 unused Assets to reduce memory usage. Loaded Objects now: 2110.
    337. Total: 2.700700 ms (FindLiveObjects: 0.377100 ms CreateObjectMapping: 0.034900 ms MarkObjects: 1.736700 ms  DeleteObjects: 0.550900 ms)
    338.  
    339. [MODES] Loading mode Default (0) for mode-current-id-AgonesUnitySimple
    340. <RI> Initialized touch support.
    341.  
    342. <RI> Initialized touch support.
    343.  
    344. <RI> Initialized touch support.
    345.  
    346. <RI> Initialized touch support.
    347.  
    348. <RI> Initialized touch support.
    349.  
    350. <RI> Initialized touch support.
    351.  
    352. <RI> Initialized touch support.
    353.  
    354. <RI> Initialized touch support.
    355.  
    356. LoadWindowLayout: Removed unparented EditorWindow while reading window layout: window #24, type=UnityEditor.FallbackEditorWindow, instanceID=15028
    357. The editor layout could not be fully loaded, this can happen when the layout contains EditorWindows not available in this project
    358. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    359. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    360. UnityEngine.Logger:Log(LogType, Object)
    361. UnityEngine.Debug:Log(Object)
    362. UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean, Boolean, Boolean)
    363. UnityEditor.WindowLayout:LoadDefaultWindowPreferencesEx(Boolean)
    364. UnityEditor.WindowLayout:LoadDefaultWindowPreferences()
    365. (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
    366.  
    367. <RI> Initializing input.
    368.  
    369. <RI> Input initialized.
    370.  
    371. D3D11 device created for Microsoft Media Foundation video decoding.
    372. [Project] Loading completed in 9.666 seconds
    373.    Project init time:                 0.850 seconds
    374.        Template init time:         0.000 seconds
    375.        Services packages init time:     0.000 seconds
    376.        Package Manager init time:         0.000 seconds
    377.        Asset Database init time:         0.000 seconds
    378.        Global illumination init time:     0.000 seconds
    379.        Assemblies load time:             0.000 seconds
    380.        Unity extensions init time:     0.001 seconds
    381.        Asset Database refresh time:     0.000 seconds
    382.    Scene opening time:             0.639 seconds
    383. Launched and connected shader compiler UnityShaderCompiler.exe after 0.05 seconds
    384. Launched and connected shader compiler UnityShaderCompiler.exe after 0.04 seconds
    385. Created GICache directory at C:/Users/greg/AppData/LocalLow/Unity/Caches/GiCache. Took: 0.026s, timestamps: [10.221 - 10.247]
    386. gi::BakeBackendSwitch: switching bake backend from 3 to 1.
    387. [00:00:01] Enlighten: Precompute started.
    388. TrimDiskCacheJob: Current cache size 802mb
    389. [00:00:01] Enlighten: Finished 1 Layout Systems job (0.00s execute, 0.00s integrate, 0.05s wallclock)
    390. [00:00:01] Enlighten: Finished 1 Tetrahedralize Probes job (0.00s execute, 0.00s integrate, 0.06s wallclock)
    391. [00:00:01] Enlighten: Precompute took 0.105681 seconds.
    392. Enlighten scene contents:   0 geometries.   0 instances.   0 systems.   0 probe groups.   0 cube maps. Scene is up-to-date.
    393. [00:00:01] Enlighten: Bake started.
    394. Setting up 8 worker threads for Enlighten.
    395.  Thread -> id: 30f8 -> priority: 1
    396.  Thread -> id: eac -> priority: 1
    397.  Thread -> id: 4ef4 -> priority: 1
    398.  Thread -> id: 4074 -> priority: 1
    399.  Thread -> id: 4230 -> priority: 1
    400.  Thread -> id: 4f94 -> priority: 1
    401.  Thread -> id: 16b8 -> priority: 1
    402.  Thread -> id: 52d4 -> priority: 1
    403. [00:00:01] Enlighten: Finished 1 Create Input Lighting job (0.00s execute, 0.00s integrate, 0.05s wallclock)
    404. [00:00:01] Enlighten: Finished 1 Bake Runtime job (0.04s execute, 0.00s integrate, 0.05s wallclock)
    405. [Optix] Number of Devices = 1
    406. [Optix] context is using local device 0: GeForce RTX 3080 - 10240MB VRAM (available: 8013MB)
    407. [Optix] successfully set up context.
    408. [Optix] removing context.
    409. [00:00:02] Enlighten: Bake took 0.563127 seconds.
    410. Unloading 9 Unused Serialized files (Serialized files now loaded: 0)
    411. System memory in use before: 114.8 MB.
    412. System memory in use after: 96.8 MB.
    413.  
    414. Unloading 53 unused Assets to reduce memory usage. Loaded Objects now: 2857.
    415. Total: 13.273100 ms (FindLiveObjects: 0.430800 ms CreateObjectMapping: 0.050200 ms MarkObjects: 8.337400 ms  DeleteObjects: 4.453700 ms)
    416.  
    417. [PathTracer] building lightmap data asset.
    418. [PathTracer] Total bake time: 0.053471, raw bake time: 0.000000
    419. [00:00:02] Enlighten: Reflection Probes started.
    420. [00:00:02] Enlighten: Finished 1 Bake Ambient Probe job (0.00s execute, 0.00s integrate, 0.05s wallclock)
    421. [00:00:02] Enlighten: Finished 1 Reflection System job (0.00s execute, 0.00s integrate, 0.05s wallclock)
    422. [00:00:02] Enlighten: LightingDataAsset started.
    423. > Collecting Enlighten data
    424. [collab-accelerator] discovery started due to a new cloud project binding
    425. UPID Received '05fd8623-12d4-45a8-b409-c62686f5cadd'.
    426. [collab-accelerator] Set collab endpoint to https://collab.cloud.unity3d.com (collab-service)
    427. <RI> Initialized touch support.
    428.  
    429. Refresh completed in 0.043970 seconds.
    430. RefreshInfo: RefreshV2(ForceSynchronousImport)
    431. RefreshProfiler: Total: 43.952ms
    432.    InvokeBeforeRefreshCallbacks: 0.498ms
    433.    ApplyChangesToAssetFolders: 0.077ms
    434.    WriteModifiedImportersToTextMetaFiles: 0.000ms
    435.    CleanLegacyArtifacts: 0.000ms
    436.    Scan: 37.736ms
    437.    OnSourceAssetsModified: 0.000ms
    438.    UnregisterDeletedAssets: 0.000ms
    439.    InitializeImportedAssetsSnapshot: 3.230ms
    440.    GetAllGuidsForCategorization: 0.000ms
    441.    CategorizeAssets: 0.000ms
    442.    ImportAndPostprocessOutOfDateAssets: 0.000ms (0.000ms without children)
    443.        ImportManagerImport: 0.000ms (0.000ms without children)
    444.            ImportInProcess: 0.000ms
    445.            ImportOutOfProcess: 0.000ms
    446.            UpdateCategorizedAssets: 0.000ms
    447.            RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children)
    448.                RemoteAssetCacheResolve: 0.000ms
    449.                RemoteAssetCacheDownloadFile: 0.000ms
    450.        CompileScripts: 0.000ms
    451.        PostProcessAllAssets: 0.000ms
    452.        ReloadImportedAssets: 0.000ms
    453.        VerifyAssetsAreUpToDateAndCorrect: 0.000ms
    454.        EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.000ms
    455.        InitializingProgressBar: 0.000ms
    456.        PostProcessAllAssetNotificationsAddChangedAssets: 0.000ms
    457.        OnDemandSchedulerStart: 0.000ms
    458.        RestoreLoadedAssetsState: 0.000ms
    459.    InvokeProjectHasChanged: 0.000ms
    460.    UpdateImportedAssetsSnapshot: 0.000ms
    461.    ReloadSourceAssets: 0.000ms
    462.    UnloadImportedAssets: 0.000ms
    463.    Hotreload: 0.051ms
    464.    FixTempGuids: 0.006ms
    465.    VerifyGuidPMRegistrations: 0.000ms
    466.    GatherAllCurrentPrimaryArtifactRevisions: 0.185ms
    467.    UnloadStreamsBegin: 0.076ms
    468.    LoadedImportedAssetsSnapshotReleaseGCHandles: 0.580ms
    469.    GetLoadedSourceAssetsSnapshot: 0.736ms
    470.    PersistCurrentRevisions: 0.000ms
    471.    UnloadStreamsEnd: 0.007ms
    472.    GenerateScriptTypeHashes: 0.000ms
    473.    Untracked: 0.771ms
    474. [Performance] WinEditorMain                                               :        1 samples, Peak.  1.32 s (1.0x), Avg.  1.32 s, Total. 1.321 s (4.2%)
    475. [Performance] WinEditorMain.ConfigureCrashHandler                         :        1 samples, Peak.  19.6 us (1.0x), Avg.  19.6 us, Total. 19.60 us (0.0%)
    476. [Performance] WinEditorMain.CurlRequestInitialize                         :        1 samples, Peak.  2.47 ms (1.0x), Avg.  2.47 ms, Total. 2.471 ms (0.0%)
    477. [Performance] WinEditorMain.SetupLogFile                                  :        1 samples, Peak.   601 us (1.0x), Avg.   601 us, Total. 600.9 us (0.0%)
    478. [Performance] WinEditorMain.RunNativeTestsIfRequiredAndExit               :        1 samples, Peak.  3.00 us (1.0x), Avg.  3.00 us, Total. 3.000 us (0.0%)
    479. [Performance] WinEditorMain.Licensing                                     :        1 samples, Peak.  1.29 s (1.0x), Avg.  1.29 s, Total. 1.293 s (4.1%)
    480. [Performance] WinEditorMain.InitializeCrashHandler                        :        1 samples, Peak.  4.30 ms (1.0x), Avg.  4.30 ms, Total. 4.296 ms (0.0%)
    481. [Performance] WinEditorMain.CreateApplication                             :        1 samples, Peak.   268 us (1.0x), Avg.   268 us, Total. 267.7 us (0.0%)
    482. [Performance] Application.InitializeProject                               :        1 samples, Peak.  7.65 s (1.0x), Avg.  7.65 s, Total. 7.651 s (24.4%)
    483. [Performance] Application.PackageManager.StartServer                      :        1 samples, Peak.  3.93 ms (1.0x), Avg.  3.93 ms, Total. 3.927 ms (0.0%)
    484. [Performance] Application.IsBrowserCacheEmpty                             :        1 samples, Peak.   566 us (1.0x), Avg.   566 us, Total. 566.1 us (0.0%)
    485. [Performance] Application.AcquireProjectLock                              :        1 samples, Peak.  5.69 ms (1.0x), Avg.  5.69 ms, Total. 5.688 ms (0.0%)
    486. [Performance] Application.InitializeEngineNoGraphics                      :        1 samples, Peak.  17.1 ms (1.0x), Avg.  17.1 ms, Total. 17.09 ms (0.1%)
    487. [Performance] Application.PackageManager.Initialize                       :        1 samples, Peak.  1.02 s (1.0x), Avg.  1.02 s, Total. 1.020 s (3.3%)
    488. [Performance] CurlRequestCheck                                            :       19 samples, Peak.  80.4 ms (10.0x), Avg.  8.05 ms, Total. 152.9 ms (0.5%)
    489. [Performance] PackageManager::RunRequestSynchronously                     :       13 samples, Peak.  12.9 ms (5.4x), Avg.  2.38 ms, Total. 30.96 ms (0.1%)
    490. [Performance] Application.EngineGraphics.Initialize                       :        1 samples, Peak.   149 ms (1.0x), Avg.   149 ms, Total. 149.2 ms (0.5%)
    491. [Performance] Application.GI.Initialize                                   :        1 samples, Peak.   381 ms (1.0x), Avg.   381 ms, Total. 380.7 ms (1.2%)
    492. [Performance] Application.LoadAllDefaultResourcesFromEditor               :        1 samples, Peak.  2.89 ms (1.0x), Avg.  2.89 ms, Total. 2.888 ms (0.0%)
    493. [Performance] Application.LoadMonoAssemblies                              :        1 samples, Peak.  2.52 s (1.0x), Avg.  2.52 s, Total. 2.521 s (8.1%)
    494. [Performance] ProcessService.EditorAfterLoadAllAssemblies                 :        2 samples, Peak.  29.1 ms (1.1x), Avg.  26.3 ms, Total. 52.57 ms (0.2%)
    495. [Performance] Application.ReadLicenseInfo                                 :        1 samples, Peak.  2.07 ms (1.0x), Avg.  2.07 ms, Total. 2.065 ms (0.0%)
    496. [Performance] Application.InitialScriptRefresh                            :        1 samples, Peak.  1.67 s (1.0x), Avg.  1.67 s, Total. 1.669 s (5.3%)
    497. [Performance] Package.AsyncRequest                                        :        9 samples, Peak.  19.0 us (6.5x), Avg.  2.93 us, Total. 26.40 us (0.0%)
    498. [Performance] Application.AssetDatabase.Refresh                           :        1 samples, Peak.  79.9 ms (1.0x), Avg.  79.9 ms, Total. 79.90 ms (0.3%)
    499. [Performance] Application.ImportAssetsWithMismatchingAssetImporterVersion :        1 samples, Peak.   100 ms (1.0x), Avg.   100 ms, Total. 100.1 ms (0.3%)
    500. [Performance] Application.SyncCurrentColorSpace                           :        1 samples, Peak.  76.5 ms (1.0x), Avg.  76.5 ms, Total. 76.49 ms (0.2%)
    501. [Performance] Application.OnUsbDevicesChanged                             :        1 samples, Peak.  17.7 ms (1.0x), Avg.  17.7 ms, Total. 17.73 ms (0.1%)
    502. [Performance] Application.AssetInstanceCacheUpdate                        :        1 samples, Peak.   500 ns (1.0x), Avg.   500 ns, Total. 500.0 ns (0.0%)
    503. [Performance] Application.UnityExtensions.Initialize                      :        1 samples, Peak.   930 us (1.0x), Avg.   930 us, Total. 930.3 us (0.0%)
    504. [Performance] Application.InitializeManagedCompilationPipeline            :        1 samples, Peak.  82.6 ms (1.0x), Avg.  82.6 ms, Total. 82.59 ms (0.3%)
    505. [Performance] Application.ExecuteStartups                                 :        1 samples, Peak.   528 ms (1.0x), Avg.   528 ms, Total. 527.8 ms (1.7%)
    506. [Performance] Application.RebuildOSMenu                                   :        1 samples, Peak.  73.4 ms (1.0x), Avg.  73.4 ms, Total. 73.41 ms (0.2%)
    507. [Performance] UpdateAllMenus                                              :       41 samples, Peak.  68.7 ms (39.8x), Avg.  1.73 ms, Total. 70.74 ms (0.2%)
    508. [Performance] Application.editorInitializingProject                       :        1 samples, Peak.  60.2 ms (1.0x), Avg.  60.2 ms, Total. 60.20 ms (0.2%)
    509. [Performance] Application.FinishLoadingProject                            :        1 samples, Peak.   639 ms (1.0x), Avg.   639 ms, Total. 639.4 ms (2.0%)
    510. [Performance] Application.RestoreLastOpenedScenes                         :        1 samples, Peak.   605 ms (1.0x), Avg.   605 ms, Total. 604.6 ms (1.9%)
    511. [Performance] BuildCatalog                                                :        1 samples, Peak.  30.9 ms (1.0x), Avg.  30.9 ms, Total. 30.92 ms (0.1%)
    512. [Performance] Application.InvokeFinishedLoadingProject                    :        1 samples, Peak.  31.5 ms (1.0x), Avg.  31.5 ms, Total. 31.52 ms (0.1%)
    513. [Performance] ProcessService.OnProjectLoaded                              :        1 samples, Peak.  28.9 ms (1.0x), Avg.  28.9 ms, Total. 28.87 ms (0.1%)
    514. [Performance] Application.InvokeProjectWasLoaded                          :        1 samples, Peak.  1.70 ms (1.0x), Avg.  1.70 ms, Total. 1.696 ms (0.0%)
    515. [Performance] Application.Message                                         :     3138 samples, Peak.  1.17 s (1347.1x), Avg.   867 us, Total. 2.721 s (8.7%)
    516. [Performance] Application.Message.WM_00060                                :       14 samples, Peak.   171 us (8.3x), Avg.  20.7 us, Total. 289.2 us (0.0%)
    517. [Performance] Application.Message.WM_0031F                                :        4 samples, Peak.  5.90 us (1.1x), Avg.  5.38 us, Total. 21.50 us (0.0%)
    518. [Performance] Application.Message.Input                                   :     4781 samples, Peak.   109 us (56.7x), Avg.  1.92 us, Total. 9.168 ms (0.0%)
    519. [Performance] Application.Message.Paint                                   :        3 samples, Peak.   547 ms (2.8x), Avg.   196 ms, Total. 588.8 ms (1.9%)
    520. [Performance] Toolbar.Paint                                               :       17 samples, Peak.   190 ms (14.9x), Avg.  12.7 ms, Total. 216.0 ms (0.7%)
    521. [Performance] RefreshSkin                                                 :        1 samples, Peak.  41.5 ms (1.0x), Avg.  41.5 ms, Total. 41.55 ms (0.1%)
    522. [Performance] SceneView.Paint                                             :       62 samples, Peak.   127 ms (25.1x), Avg.  5.08 ms, Total. 314.7 ms (1.0%)
    523. [Performance] SceneView.OnGUI.Layout                                      :      224 samples, Peak.  69.8 ms (109.4x), Avg.   638 us, Total. 143.0 ms (0.5%)
    524. [Performance] SceneView.OnGUI.repaint                                     :       62 samples, Peak.  30.9 ms (14.5x), Avg.  2.12 ms, Total. 131.6 ms (0.4%)
    525. [Performance] GameView.Paint                                              :       55 samples, Peak.  22.0 ms (7.9x), Avg.  2.78 ms, Total. 152.7 ms (0.5%)
    526. [Performance] GameView.OnGUI.Layout                                       :       55 samples, Peak.  12.0 ms (23.6x), Avg.   509 us, Total. 27.97 ms (0.1%)
    527. [Performance] GameView.OnGUI.repaint                                      :       55 samples, Peak.  7.60 ms (7.2x), Avg.  1.06 ms, Total. 58.45 ms (0.2%)
    528. [Performance] SceneHierarchyWindow.Paint                                  :        5 samples, Peak.  33.1 ms (3.8x), Avg.  8.71 ms, Total. 43.56 ms (0.1%)
    529. [Performance] SceneHierarchyWindow.OnGUI.Layout                           :        5 samples, Peak.  22.3 ms (4.8x), Avg.  4.64 ms, Total. 23.22 ms (0.1%)
    530. [Performance] SceneHierarchyWindow.OnGUI.repaint                          :        5 samples, Peak.  6.10 ms (3.1x), Avg.  1.97 ms, Total. 9.859 ms (0.0%)
    531. [Performance] SceneVisibilityState.IsFlagSetInParents                     :       10 samples, Peak.  1.50 us (1.7x), Avg.   870 ns, Total. 8.700 us (0.0%)
    532. [Performance] SceneVisibilityState.HasData                                :       10 samples, Peak.   300 ns (2.7x), Avg.   110 ns, Total. 1.100 us (0.0%)
    533. [Performance] ProjectBrowser.Paint                                        :        5 samples, Peak.   115 ms (4.0x), Avg.  28.4 ms, Total. 142.2 ms (0.5%)
    534. [Performance] ProjectBrowser.OnGUI.Layout                                 :        5 samples, Peak.  99.6 ms (4.5x), Avg.  22.1 ms, Total. 110.6 ms (0.4%)
    535. [Performance] ProjectBrowser.OnGUI.repaint                                :        5 samples, Peak.  12.0 ms (2.5x), Avg.  4.73 ms, Total. 23.64 ms (0.1%)
    536. [Performance] InspectorWindow.Paint                                       :        5 samples, Peak.  36.2 ms (4.1x), Avg.  8.78 ms, Total. 43.89 ms (0.1%)
    537. [Performance] InspectorWindow.OnGUI.Layout                                :        5 samples, Peak.  3.69 ms (4.9x), Avg.   753 us, Total. 3.765 ms (0.0%)
    538. [Performance] InspectorWindow.OnGUI.repaint                               :        5 samples, Peak.  31.1 us (1.5x), Avg.  21.1 us, Total. 105.4 us (0.0%)
    539. [Performance] ConsoleWindow.Paint                                         :        6 samples, Peak.  16.8 ms (3.6x), Avg.  4.63 ms, Total. 27.80 ms (0.1%)
    540. [Performance] ConsoleWindow.OnGUI.Layout                                  :        6 samples, Peak.  11.2 ms (5.4x), Avg.  2.06 ms, Total. 12.35 ms (0.0%)
    541. [Performance] ConsoleWindow.OnGUI.repaint                                 :        6 samples, Peak.  1.65 ms (1.8x), Avg.   901 us, Total. 5.407 ms (0.0%)
    542. [Performance] AppStatusBar.Paint                                          :       16 samples, Peak.  3.04 ms (3.1x), Avg.   983 us, Total. 15.74 ms (0.1%)
    543. [Performance] Application.Message.MouseMove                               :      758 samples, Peak.  11.0 ms (18.3x), Avg.   599 us, Total. 454.0 ms (1.4%)
    544. [Performance] Application.Tick                                            :     3138 samples, Peak.   510 ms (732.2x), Avg.   697 us, Total. 2.186 s (7.0%)
    545. [Performance] CheckLicensingClient                                        :        4 samples, Peak.  18.6 us (1.2x), Avg.  14.9 us, Total. 59.70 us (0.0%)
    546. [Performance] VCProvider                                                  :     3138 samples, Peak.  26.9 us (33.2x), Avg.   811 ns, Total. 2.544 ms (0.0%)
    547. [Performance] MonoCompiler.Tick                                           :       90 samples, Peak.  11.6 us (2.3x), Avg.  5.12 us, Total. 460.9 us (0.0%)
    548. [Performance] UnityConnect.Tick                                           :      313 samples, Peak.  1.17 ms (143.1x), Avg.  8.16 us, Total. 2.555 ms (0.0%)
    549. [Performance] UnityConnect.PollInfo                                       :        4 samples, Peak.   800 ns (1.7x), Avg.   475 ns, Total. 1.900 us (0.0%)
    550. [Performance] Collab.Tick                                                 :      313 samples, Peak.   436 us (118.2x), Avg.  3.69 us, Total. 1.154 ms (0.0%)
    551. [Performance] CurlRequest.Tick                                            :      176 samples, Peak.   102 us (37.4x), Avg.  2.72 us, Total. 478.7 us (0.0%)
    552. [Performance] WebView.Tick                                                :      674 samples, Peak.   375 us (8.2x), Avg.  45.6 us, Total. 30.74 ms (0.1%)
    553. [Performance] WebSocketClient.Tick                                        :      177 samples, Peak.  16.8 ms (173.5x), Avg.  96.9 us, Total. 17.16 ms (0.1%)
    554. [Performance] SceneBackgroundTask.Tick                                    :      114 samples, Peak.  5.40 us (15.4x), Avg.   351 ns, Total. 40.00 us (0.0%)
    555. [Performance] Scheduler.Tick                                              :     1126 samples, Peak.  2.77 ms (96.0x), Avg.  28.8 us, Total. 32.47 ms (0.1%)
    556. [Performance] RepaintAllProfilerWindows                                   :       31 samples, Peak.   327 us (27.6x), Avg.  11.9 us, Total. 367.9 us (0.0%)
    557. [Performance] PlayerUpdates.Tick                                          :      312 samples, Peak.  46.1 us (2.4x), Avg.  18.8 us, Total. 5.876 ms (0.0%)
    558. [Performance] GlobalCallbacks                                             :     3138 samples, Peak.   470 ms (2326.8x), Avg.   202 us, Total. 634.1 ms (2.0%)
    559. [Performance] EditorAnalytics.Tick                                        :       71 samples, Peak.  5.40 us (1.9x), Avg.  2.78 us, Total. 197.7 us (0.0%)
    560. [Performance] GI.Tick                                                     :      277 samples, Peak.   470 ms (213.7x), Avg.  2.20 ms, Total. 609.4 ms (1.9%)
    561. [Performance] Video.Update                                                :     3138 samples, Peak.  14.7 us (35.1x), Avg.   419 ns, Total. 1.314 ms (0.0%)
    562. [Performance] UnitySynchronization.ExecuteTasks                           :      312 samples, Peak.   907 us (122.7x), Avg.  7.39 us, Total. 2.306 ms (0.0%)
    563. [Performance] PreloadManager                                              :     3138 samples, Peak.  1.57 ms (271.2x), Avg.  5.78 us, Total. 18.13 ms (0.1%)
    564. [Performance] SceneTracker                                                :     3138 samples, Peak.  37.8 ms (248.5x), Avg.   152 us, Total. 476.7 ms (1.5%)
    565. [Performance] ConsoleLog.Tick                                             :       90 samples, Peak.   193 us (33.0x), Avg.  5.85 us, Total. 526.9 us (0.0%)
    566. [Performance] HierarchyWindow.Tick                                        :       97 samples, Peak.   588 us (93.8x), Avg.  6.27 us, Total. 608.0 us (0.0%)
    567. [Performance] Inspector.Tick                                              :       97 samples, Peak.  5.13 ms (15.4x), Avg.   333 us, Total. 32.29 ms (0.1%)
    568. [Performance] Tooltip.Tick                                                :      276 samples, Peak.  8.61 ms (73.0x), Avg.   118 us, Total. 32.56 ms (0.1%)
    569. [Performance] RequestRepaintForPanels                                     :     3101 samples, Peak.   295 us (118.3x), Avg.  2.49 us, Total. 7.732 ms (0.0%)
    570. [Performance] UpdateScene                                                 :     3101 samples, Peak.  31.2 ms (257.4x), Avg.   121 us, Total. 376.5 ms (1.2%)
    571. [Performance] GUIView.RepaintAll.PlayerLoopController                     :       45 samples, Peak.  31.0 ms (4.1x), Avg.  7.54 ms, Total. 339.4 ms (1.1%)
    572. [Performance] UpdateTextureStreaming                                      :     3101 samples, Peak.   369 us (5.9x), Avg.  62.9 us, Total. 195.1 ms (0.6%)
    573. [Performance] UpdateVideoTextures                                         :     3101 samples, Peak.  1.50 us (7.6x), Avg.   198 ns, Total. 615.1 us (0.0%)
    574. [Performance] PackageImporter.Tick                                        :       90 samples, Peak.   700 ns (2.4x), Avg.   290 ns, Total. 26.10 us (0.0%)
    575. [Performance] InspectorBackground.Tick                                    :      114 samples, Peak.  3.40 us (6.9x), Avg.   494 ns, Total. 56.30 us (0.0%)
    576. [Performance] ChangeLayoutIfNeeded                                        :     3138 samples, Peak.   800 ns (8.1x), Avg.  99.0 ns, Total. 310.6 us (0.0%)
    577. [Performance] AsyncReadManager.ForceCloseFiles                            :       19 samples, Peak.  35.5 us (11.9x), Avg.  2.99 us, Total. 56.90 us (0.0%)
    578. [Performance] Application.Message.MouseLeave                              :       23 samples, Peak.  7.39 ms (9.2x), Avg.   804 us, Total. 18.50 ms (0.1%)
    579. [Performance] Application.Message.Timer                                   :       14 samples, Peak.  39.5 us (3.1x), Avg.  12.8 us, Total. 178.7 us (0.0%)
    580. [Performance] GUIView.RepaintAll.RepaintScene                             :     3056 samples, Peak.  9.70 ms (140.0x), Avg.  69.3 us, Total. 211.7 ms (0.7%)
    581. [Performance] Application.Idle                                            :     3058 samples, Peak.   101 ms (20.1x), Avg.  5.01 ms, Total. 15.32 s (48.9%)
    582. [Performance] SceneView.OnGUI.mouseMove                                   :      155 samples, Peak.  1.16 ms (5.0x), Avg.   233 us, Total. 36.13 ms (0.1%)
    583. [Performance] Application.Message.MouseHover                              :        8 samples, Peak.  2.21 ms (3.6x), Avg.   619 us, Total. 4.952 ms (0.0%)
    584. [Performance] SceneView.OnGUI.MouseEnterWindow                            :        3 samples, Peak.   245 us (1.1x), Avg.   231 us, Total. 691.9 us (0.0%)
    585. [Performance] SceneView.OnGUI.MouseLeaveWindow                            :        4 samples, Peak.   246 us (1.1x), Avg.   228 us, Total. 910.2 us (0.0%)
    586. [Performance] Application.Message.NonClientMouseMove                      :      118 samples, Peak.  22.8 us (5.3x), Avg.  4.31 us, Total. 508.3 us (0.0%)
    587. [Performance] Application.Message.WM_002A2                                :        3 samples, Peak.  4.70 us (1.8x), Avg.  2.67 us, Total. 8.000 us (0.0%)
    588. [Performance] Application.Message.NonClientLeftButtonDown                 :        1 samples, Peak.  1.17 s (1.0x), Avg.  1.17 s, Total. 1.168 s (3.7%)
    589. [Performance] Application.Message.WM_00111                                :        1 samples, Peak.  15.3 ms (1.0x), Avg.  15.3 ms, Total. 15.26 ms (0.0%)
    590. [Performance] BuildPlayerWindow.Paint                                     :       22 samples, Peak.  41.4 ms (4.3x), Avg.  9.52 ms, Total. 209.5 ms (0.7%)
    591. [Performance] Application.Message.LeftButtonDown                          :        1 samples, Peak.  8.61 ms (1.0x), Avg.  8.61 ms, Total. 8.610 ms (0.0%)
    592. [Performance] Application.Message.LeftButtonUp                            :        1 samples, Peak.  8.15 ms (1.0x), Avg.  8.15 ms, Total. 8.147 ms (0.0%)
    593. [Performance] InactiveGI.Tick                                             :       12 samples, Peak.   684 us (1.3x), Avg.   529 us, Total. 6.344 ms (0.0%)
    594. [Performance] GUIView.RepaintAll.RequestRepaint                           :       37 samples, Peak.  7.86 ms (36.4x), Avg.   216 us, Total. 7.991 ms (0.0%)
    595. Cleanup mono
    596. Refreshing native plugins compatible for Editor in 0.00 ms, found 0 plugins.
    597. debugger-agent: Unable to listen on 4172
    598. Checking for leaked weakptr:
    599.  Found no leaked weakptrs.
    600. [Package Manager] Server::Kill -- Server was shutdown
    601. ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1611724688601,"processId":16284,"allocatedMemory":441434,"memoryLabels":[{"Default":-1244},{"NewDelete":109410},{"Thread":95},{"Manager":2984},{"Physics":81},{"Serialization":40},{"String":32679},{"DynamicArray":190904},{"HashMap":21721},{"Curl":-944},{"PoolAlloc":176},{"ScriptManager":31243},{"Sprites":8},{"GI":13248},{"VR":4252},{"Secure":4237},{"Subsystems":-664},{"EditorGui":376},{"EditorUtility":1232},{"AssetDatabase":4898},{"AssetImporter":32},{"RestService":56},{"ProgressiveLightmapper":-528},{"UnityConnect":22054},{"Collab":3256},{"Licensing":1832}]}
    602.  
     
  35. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264
    @Meltdown what if you open the editor as an admin Does that solve the issue ?
     
  36. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822
    How do I open it as Admin? I run Editor exe and it opens Unity Hub.
    I have set the Editor .exe setting in Compatibility under Windows to open as Administrator.

    Unity Hub is running as Administrator.
     
  37. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264

    You may have to run the editor exe directly in where you have the hub installing your editor. This of course is not a long term solution it’s verifying what I suspect is the issue which is we are trying to extract the sysroot and it can’t because it needs admin rights.
     
  38. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822
    I'm not sure what you mean. If I run the editor.exe directly from it's folder, it opens up Unity Hub. It doesn't run the editor.
     
  39. Elringus

    Elringus

    Joined:
    Oct 3, 2012
    Posts:
    483
    Is this a known issue in 2019.4.22 when toolchain for win package being forcefully installed whenever we open project config? The option to auto install this package is enabled by default and for every new Unity project to disable that behavior, we have to open the config window, wait for the package to auto-install (it freezes the editor while it's installing) and then disable the auto install option. This is really frustrating.
     
  40. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264
    There is a known bug with this at the moment it should only install it if you have the IL2CPP module install for Linux.
     
  41. Elringus

    Elringus

    Joined:
    Oct 3, 2012
    Posts:
    483
    I've tried re-installing Unity without the IL2CPP Linux module, but it's still happening.
     
  42. QFSW

    QFSW

    Joined:
    Mar 24, 2015
    Posts:
    2,906
    I'm unable to build Linux IL2CPP from Windows 10 due to it not being able to find clang
    I'm using Unity 2021.1.1f1 with the Linux IL2CPP module installed and the following packages
    upload_2021-4-6_14-26-34.png

    Code (CSharp):
    1. Exception: C++ code builder is unable to build C++ code for Linux: Could not find valid clang executable at clang.exe
    2. UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <830a4c44422a4fb282f7e1f575d71e27>:0)
    3. UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at <830a4c44422a4fb282f7e1f575d71e27>:0)
    4. UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo) (at <830a4c44422a4fb282f7e1f575d71e27>:0)
    5. UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (UnityEditor.Il2Cpp.Il2CppBuildPipelineData data) (at <830a4c44422a4fb282f7e1f575d71e27>:0)
    6. UnityEditorInternal.IL2CPPBuilder.Run () (at <830a4c44422a4fb282f7e1f575d71e27>:0)
    7. UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <830a4c44422a4fb282f7e1f575d71e27>:0)
    8. DesktopStandalonePostProcessor.RunIL2CPP (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditorInternal.IIl2CppPlatformProvider il2cppPlatformProvider, System.Collections.Generic.List`1[T] cppPlugins) (at <830a4c44422a4fb282f7e1f575d71e27>:0)
    9. DesktopStandalonePostProcessor.SetupStagingArea (UnityEditor.Modules.BuildPostProcessArgs args, System.Collections.Generic.HashSet`1[T] filesToNotOverwrite) (at <830a4c44422a4fb282f7e1f575d71e27>:0)
    10. DesktopStandalonePostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at <830a4c44422a4fb282f7e1f575d71e27>:0)
    11. Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
    12. DesktopStandalonePostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at <830a4c44422a4fb282f7e1f575d71e27>:0)
    13. UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <830a4c44422a4fb282f7e1f575d71e27>:0)
    14. UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <830a4c44422a4fb282f7e1f575d71e27>:0)
    15. UnityEditor.BuildPipeline:BuildPlayer(BuildPlayerOptions)
    16. QFSW.BA.Platform:BuildPlatform(BuildSettingsPackage) (at Assets/Plugins/QFSW/Build Automator/Source/Platforms/Platform.cs:64)
    17. QFSW.BA.BuildAutomator:RunBuilds(IEnumerable`1) (at Assets/Plugins/QFSW/Build Automator/Source/Core/BuildAutomator.cs:113)
    18. QFSW.BA.BuildAutomator:RunBuilds() (at Assets/Plugins/QFSW/Build Automator/Source/Core/BuildAutomator.cs:145)
    19. QFSW.BA.BuildAutomator:DisplayBuildButton() (at Assets/Plugins/QFSW/Build Automator/Source/Core/BuildAutomator.UI.cs:96)
    20. QFSW.BA.BuildAutomator:OnGUI() (at Assets/Plugins/QFSW/Build Automator/Source/Core/BuildAutomator.UI.cs:72)
    21. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
     
  43. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264
    Yes there is a known bug for this issue, and should be fixed in next release of 2020.3 and 2019.4 and 2021.1
     
    Elringus likes this.
  44. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264

    Will take a look into this we have not see any issues related to this, can you verify in %userprofile%\AppData\Local\unity3d\cache\sysroots that there is actually a toolchain?

    What version of the editor are you using?
     
  45. QFSW

    QFSW

    Joined:
    Mar 24, 2015
    Posts:
    2,906
    It appears that I have the toolchains
    upload_2021-4-17_16-27-16.png

    Unity 2021.1.1f1
     
  46. DrSeltsam

    DrSeltsam

    Joined:
    Jul 24, 2019
    Posts:
    101
    I was able to successfully use the Toolchain a few times (extremely helpful package btw!), but a few weeks ago it suddenly stopped working. Both "Toolchain Win Linux x64" (0.1.20-preview) and "Sysroot Linux x64" (0.1.15-preview) (and Sysroot Base) are installed (according to the package manager), but if I go to my project settings to "Toolchain Management", it tells me "Building a Linux player requires a sysroot/toolchain package". Checking the "Install package automatically" box has no effect. There are no packages listed under "Installed Toolchain Packages".

    If I fully remove the toolchain and sysroot packages, a button shows up under "Toolchain Management" to install the packages. After hitting this button, it installs the packages, but after installing them it tells me again "Building a Linux player requires a sysroot/toolchain package"...

    I'm using IL2CPP. I've also installed IL2CPP Linux build support. Currently I'm using Unity 2021.1.11f1, but this also happened with previous 2021.1 versions. I'm using Windows 10 btw.

    I've already tried to delete the Library folder and all cache folders under AppData. I've also cloned the project on a clean Windows install, but Toolchain Linux still does not work.
     
    deus0 likes this.
  47. EliseoPixowl

    EliseoPixowl

    Joined:
    Oct 28, 2019
    Posts:
    5
    I'm having some issues while building a headless (server) linux IL2CPP x64 application.
    I have several managed dlls in my project. One is Sqlite, specifically, mono.data.sqlite.

    If I'm not mistaken, IL2CPP should convert this library in the building process, ending up with a .so file in my data/plugins folder. The file is there but when I try to run the app in Ubuntu I get the following error.


    Code (CSharp):
    1.  
    2. Unable to preload the following plugins:
    3.      libsqlite3.so
    4. PlayerConnection already initialized - listening to [0.0.0.0:55009]
    5. Plugins: Couldn't open /home/[USER]/Server/TSBServer_Data/Plugins/libsqlite3.so, error: /home/[USER]/Server/TSBServer_Data/Plugins/libsqlite3.so: wrong ELF class: ELFCLASS32
    6.  
    And indeed, the file is 32bits.

    Code (CSharp):
    1.  
    2. file -L /home/[USER]/Server/TSBServer_Data/Plugins/libsqlite3.so
    3. /home/[USER]/Server/TSBServer_Data/Plugins/libsqlite3.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, missing section headers
    4.  
    Any idea why this library is being built like this?

    I'm building Using:
    - Windows 10 64bits
    - Unity 2020.2.1f1
    and the latest toolchain and sysroot packages
     

    Attached Files:

    Last edited: Jun 17, 2021
  48. jj-steele

    jj-steele

    Joined:
    Jul 24, 2012
    Posts:
    34
    I am getting the following error when building using 2020.3.12.

    Exception: Unity.IL2CPP.Building.BuilderFailedException: clang++: error: unsupported option '-fPIC' for target 'x86_64-pc-windows-msvc'

    any idea what I'm doing wrong?
     
    derosa_tgk and deus0 like this.
  49. Dpodz

    Dpodz

    Joined:
    Jul 5, 2015
    Posts:
    1
    I was able to resolve the
    Failed to initialize sysroot com.unity.toolchain.win-x86_64-linux-x86_64
    error by updating the Toolchain Win Linux x64 package 0.1.21 through the Unity package manager!
     
  50. RoyBarina

    RoyBarina

    Joined:
    Jul 3, 2017
    Posts:
    98
    Hola
    I also can't build for Linux on Windows 11 with 2020.3.30 (and few versions earlier) but was able to in the past
    I kept getting linker error with exit code 1136 and on the internet I found only 1 post not Unity related that has "1136" and "linker" in the same sentence that may suggest a corrupted file. so I deleted my library and reimported all back and also downloaded and install "Linux (IL2CPP) Target Support" from here and now I keep getting the missing clang.exe issue as follows:
    upload_2022-3-15_13-21-53.png
    And of course files do exists:
    upload_2022-3-15_13-22-31.png
    My player configuration is:
    upload_2022-3-15_13-23-9.png

    Edit:
    Tried different things and now I keep getting
    clang++: error: linker command failed with exit code 1136

    upload_2022-3-15_16-21-31.png
     
    Last edited: Mar 15, 2022