Search Unity

Unity Hub launches, Editor does not

Discussion in 'Linux' started by koontzj343, Apr 11, 2020.

  1. koontzj343

    koontzj343

    Joined:
    Apr 11, 2020
    Posts:
    8
    I ran the appimage and logged in and install the lastest stable editor. Then I made a new project, it loads, then nothing. after running the appimage again and trying to start the project, the editor version is unselected. After selecting the only version, I double click and it begins loading. Only to say it was created with an older version. I click continue and the same thing happens, nothing. I tried making a new one after that. Then rebooted and tried loading them again. still nothing.
     
  2. koontzj343

    koontzj343

    Joined:
    Apr 11, 2020
    Posts:
    8

    running ubuntu 18.04
     
    dginovker likes this.
  3. bricefr

    bricefr

    Joined:
    May 3, 2015
    Posts:
    61
    Do you see something in the log? (~/.config/unity3d)
     
  4. KiaZmtb

    KiaZmtb

    Joined:
    Apr 12, 2020
    Posts:
    4
    Hello, I'm new here and I have the same problem. It happens both launching unity hub or directly unity from command line. If it's helpful here it's what happens to me when running Unity from terminal.

    kiaz@kiaz-MacBookAir:~/Unity-2019.1.0f2/Editor$ ./Unity
    [0412/135141:ERROR:browser_main_loop.cc(161)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
    ATTENTION: default value of option force_s3tc_enable overridden by environment.
    [0412/135141:ERROR:browser_main_loop.cc(207)] Gtk: gtk_window_present_with_time: assertion 'GTK_IS_WINDOW (window)' failed
    kiaz@kiaz-MacBookAir:~/Unity-2019.1.0f2/Editor$ [Unity Package Manager (Upm)]
    Parent process [9760] was terminated

    If it can help, here is dmesg output :

    [ 3596.133507] systemd-hostnamed[8820]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
    [ 3996.025003] Unity[9082]: segfault at 0 ip 00007faa0ee57d19 sp 00007fff6fcd7450 error 4 in Unity[7faa0d5f0000+74a6000]
    [10507.835874] systemd-hostnamed[9472]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
    [10529.070939] Unity[9479]: segfault at 0 ip 00007f5a90831d19 sp 00007fffa50a6f30 error 4 in Unity[7f5a8efca000+74a6000]
    [10589.936583] Unity[9619]: segfault at 0 ip 00007f49bc725d19 sp 00007fff3b248770 error 4 in Unity[7f49baebe000+74a6000]
    [10914.028564] Unity[9847]: segfault at 0 ip 00007f256415bd19 sp 00007fffcb72a530 error 4 in
    Unity[7f25628f4000+74a6000]

    In $HOME/.config/unity 3d there are many folders and log files, is there something helpful to investigate there ?

    Thanks in advance for help.
     
  5. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264
    Are you running the latest version of the hub ?
     
  6. koontzj343

    koontzj343

    Joined:
    Apr 11, 2020
    Posts:
    8
    yes I just installed it
     
  7. koontzj343

    koontzj343

    Joined:
    Apr 11, 2020
    Posts:
    8
    can I just use wine to run it? I bought a course on udemy to learn 2d unity. this is my first time using it.
     
  8. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264
    You can't run it under wine well, what do the editor logs say in ~/.config/unity3d/Editor.log ?
     
  9. koontzj343

    koontzj343

    Joined:
    Apr 11, 2020
    Posts:
    8
    what am I supposed to look for? It says a lot.
     
  10. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264
    Well can you post the contents I mean if the editor is not starting then anything would be helpful
     
  11. koontzj343

    koontzj343

    Joined:
    Apr 11, 2020
    Posts:
    8

    [LicensingClient] ERROR Failed to connect to local IPC
    [Licensing::Module] Failed to connect to channel: LicenseClient-redwizard
    [Licensing::Module] Successfully launched the LicensingClient
    [LicensingClient] Timed-out attempting to connect to the Licensing Client on pipe: LicenseClient-redwizard.
    [LicensingClient] ERROR Failed to connect to local IPC
    [Licensing::Module] Failed to connect to channel: LicenseClient-redwizard
    IPC channel to LicensingClient doesn't exist; falling back to Legacy licensing
    [LicensingClient] ERROR Failed to disconnect local IPC connection
    Desktop is 1280 x 800 @ 60 Hz

    LICENSE SYSTEM [2020414 16:7:28] Next license update check is after 2020-04-15T19:56:34

    [Package Manager] Server::Start -- Port 39323 was selected

    COMMAND LINE ARGUMENTS:
    /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Unity
    -createproject
    /home/redwizard/Documents/unity/tut/fag
    -cloneFromTemplate
    /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/ProjectTemplates/com.unity.template.2d-3.3.0.tgz
    -cloudOrganization
    undefined
    -cloudEnvironment
    production
    -useHub
    -hubIPC
    -hubSessionId
    eb2bb170-7e89-11ea-bd0b-c9c2b56cd5d5
    -accessToken
    JrlBBabKkLUX83rxeVIGrDWM97qfmqwq00u4VIfhRL0002f
    /home/redwizard/Documents/unity/tut/fag
    Using Asset Import Pipeline V2.
    [Package Manager] Server::EnsureServerProcessIsRunning -- ReadyRequest exceeded maximum alloted time, ran for [15] seconds
    [Package Manager] Server::Kill -- Server was shutdown
    [Package Manager] PackageManager Server::Start -- Process restart attempt #2

    [Package Manager] Server::Start -- Port 41883 was selected
    Adding genesis user token Adding genesis user token [Package Manager] Done resolving packages in 19.26s seconds
    [Package Manager] Done checking package constraints in 0.01s seconds

    (Unity:30410): Gtk-CRITICAL **: 16:08:07.093: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed
    [Package Manager]
    Registered 49 packages:
    Packages from [https://packages.unity.com]:
    com.unity.2d.animation@3.2.1 (location: /home/redwizard/Documents/unity/tut/fag/Library/PackageCache/com.unity.2d.animation@3.2.1)
    com.unity.2d.pixel-perfect@2.0.4 (location: /home/redwizard/Documents/unity/tut/fag/Library/PackageCache/com.unity.2d.pixel-perfect@2.0.4)
    com.unity.2d.psdimporter@2.1.3 (location: /home/redwizard/Documents/unity/tut/fag/Library/PackageCache/com.unity.2d.psdimporter@2.1.3)
    com.unity.2d.spriteshape@3.0.10 (location: /home/redwizard/Documents/unity/tut/fag/Library/PackageCache/com.unity.2d.spriteshape@3.0.10)
    com.unity.collab-proxy@1.2.16 (location: /home/redwizard/Documents/unity/tut/fag/Library/PackageCache/com.unity.collab-proxy@1.2.16)
    com.unity.ide.rider@1.1.4 (location: /home/redwizard/Documents/unity/tut/fag/Library/PackageCache/com.unity.ide.rider@1.1.4)
    com.unity.ide.vscode@1.1.4 (location: /home/redwizard/Documents/unity/tut/fag/Library/PackageCache/com.unity.ide.vscode@1.1.4)
    com.unity.test-framework@1.1.13 (location: /home/redwizard/Documents/unity/tut/fag/Library/PackageCache/com.unity.test-framework@1.1.13)
    com.unity.textmeshpro@2.0.1 (location: /home/redwizard/Documents/unity/tut/fag/Library/PackageCache/com.unity.textmeshpro@2.0.1)
    com.unity.timeline@1.2.14 (location: /home/redwizard/Documents/unity/tut/fag/Library/PackageCache/com.unity.timeline@1.2.14)
    com.unity.2d.common@2.0.2 (location: /home/redwizard/Documents/unity/tut/fag/Library/PackageCache/com.unity.2d.common@2.0.2)
    com.unity.mathematics@1.1.0 (location: /home/redwizard/Documents/unity/tut/fag/Library/PackageCache/com.unity.mathematics@1.1.0)
    com.unity.2d.path@2.0.4 (location: /home/redwizard/Documents/unity/tut/fag/Library/PackageCache/com.unity.2d.path@2.0.4)
    com.unity.ext.nunit@1.0.0 (location: /home/redwizard/Documents/unity/tut/fag/Library/PackageCache/com.unity.ext.nunit@1.0.0)
    Built-in packages:
    com.unity.2d.sprite@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.2d.sprite)
    com.unity.2d.tilemap@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.2d.tilemap)
    com.unity.ugui@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui)
    com.unity.modules.ai@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.ai)
    com.unity.modules.androidjni@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.androidjni)
    com.unity.modules.animation@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.animation)
    com.unity.modules.assetbundle@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.assetbundle)
    com.unity.modules.audio@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.audio)
    com.unity.modules.cloth@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.cloth)
    com.unity.modules.director@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.director)
    com.unity.modules.imageconversion@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.imageconversion)
    com.unity.modules.imgui@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.imgui)
    com.unity.modules.jsonserialize@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.jsonserialize)
    com.unity.modules.particlesystem@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.particlesystem)
    com.unity.modules.physics@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.physics)
    com.unity.modules.physics2d@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.physics2d)
    com.unity.modules.screencapture@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.screencapture)
    com.unity.modules.terrain@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.terrain)
    com.unity.modules.terrainphysics@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.terrainphysics)
    com.unity.modules.tilemap@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.tilemap)
    com.unity.modules.ui@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.ui)
    com.unity.modules.uielements@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.uielements)
    com.unity.modules.umbra@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.umbra)
    com.unity.modules.unityanalytics@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unityanalytics)
    com.unity.modules.unitywebrequest@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequest)
    com.unity.modules.unitywebrequestassetbundle@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestassetbundle)
    com.unity.modules.unitywebrequestaudio@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestaudio)
    com.unity.modules.unitywebrequesttexture@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequesttexture)
    com.unity.modules.unitywebrequestwww@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestwww)
    com.unity.modules.vehicles@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.vehicles)
    com.unity.modules.video@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.video)
    com.unity.modules.vr@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.vr)
    com.unity.modules.wind@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.wind)
    com.unity.modules.xr@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.xr)
    com.unity.modules.subsystems@1.0.0 (location: /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.modules.subsystems)

    [Subsystems] No new subsystems found in resolved package list.
    [Package Manager] Done registering packages in 0.02s seconds
    Unable to load player prefs
    Refreshing native plugins compatible for Editor in 0.04 ms, found 0 plugins.
    Preloading 0 native plugins for Editor in 0.00 ms.
    IsTimeToCheckForNewEditor: Update time 0 current 1586894887
    Initialize engine version: 2019.3.9f1 (e6e740a1c473)
    [Subsystems] Discovering subsystems at path /home/redwizard/Unity/Hub/Editor/2019.3.9f1/Editor/Data/Resources/UnitySubsystems
    [Subsystems] Discovering subsystems at path /home/redwizard/Documents/unity/tut/fag/Assets
    GLX Extensions: GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_buffer_age GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_MESA_query_renderer GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync
    GLX Extensions: GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_buffer_age GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_MESA_query_renderer GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync
    [vulkan] LoadVulkanLibrary libvulkan.so.1[vulkan] Loaded instance function vkGetInstanceProcAddr
    [vulkan] Loaded instance function vkGetInstanceProcAddr
    [vulkan] Loaded instance function vkCreateInstance
    [vulkan] Loaded instance function vkEnumerateInstanceExtensionProperties
    [vulkan] Loaded instance function vkEnumerateInstanceLayerProperties
    [vulkan] Loaded instance function vkEnumerateInstanceVersion
    [Vulkan init] extensions: count=2
    [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=1
    [Vulkan init] extensions: name=VK_EXT_debug_utils, enabled=0
    [Unity Package Manager (Upm)]
    Parent process [30410] was terminated
     
  12. koontzj343

    koontzj343

    Joined:
    Apr 11, 2020
    Posts:
    8
    anything?
     
  13. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264
    One thing is that it’s starting up as Vulkan I am wondering if you pass in -force-glcore to the editor if that does anything. Other than that nothing popped out. Does this happening only with the 2D template ?
     
  14. Eskibrew

    Eskibrew

    Joined:
    Apr 20, 2020
    Posts:
    4
    I had a similar problem - I ended up removing the UnityHub which I'd installed from the ubuntu repo and instead used the AppImage downloaded. It may be coincidence that this made it work but worth trying.
     
    andrews_unity likes this.
  15. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264

    I would definitely install and use the version coming from the website and not via the package managers as those are not official distribution paths for the hub.
     
  16. alamirobbi

    alamirobbi

    Joined:
    Jun 9, 2020
    Posts:
    1
    i get some problem
    Code (JavaScript):
    1. kapten@nemo:/opt/Unity3D/Editor$ ./Unity
    2. [0609/075056:ERROR:browser_main_loop.cc(161)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
    3. [0609/075056:ERROR:browser_main_loop.cc(207)] Gtk: gtk_window_present_with_time: assertion 'GTK_IS_WINDOW (window)' failed
    4. [0609/075057:ERROR:sandbox_linux.cc(308)] InitializeSandbox() called with multiple threads in process gpu-process
    5. kapten@nemo:/opt/Unity3D/Editor$ [Unity Package Manager (Upm)]
    6. Parent process [42367] was terminated
    7.  
    what must i do? i use ubuntu 20.x
    when i open project on unity unity won't launch
     
  17. unity_xW6sO8ps9h_vPA

    unity_xW6sO8ps9h_vPA

    Joined:
    Aug 11, 2020
    Posts:
    3
    I'm having the same issue. I use unity hub appimage and all the unity editor versions except the 2018 does not work. Always crash
     
  18. bennygr

    bennygr

    Joined:
    Nov 23, 2015
    Posts:
    1
    Hi ;)

    Same issue here. Unity 2019.4.0f1. Ubuntu 18.04.

    This all started after migrating my project to URP. At first eversthing was fine and working, but after closing Unity, it does not start anymore:confused:. If no render pipeline asset is set, everything starts fine again.
    A new URP project from the template starts fine though.

    Any idea?

    --


    Code (csharp):
    1.  
    2. (Unity:13048): Gtk-CRITICAL **: 23:58:55.018: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)'