Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Unity on Arch/Manjaro Linux

Discussion in 'Linux' started by NunoDonato, Aug 26, 2015.

  1. ArtKuper

    ArtKuper

    Joined:
    Mar 16, 2016
    Posts:
    3
    Dear forum, focused on this screen ... tell me is there any solution?
    My system Linux Manjaro 16.06 xfce
     

    Attached Files:

  2. spacepluk

    spacepluk

    Joined:
    Aug 26, 2015
    Posts:
    243
    Are you using the AUR package? You can try deleting ~/.config/unity3d
     
  3. ArtKuper

    ArtKuper

    Joined:
    Mar 16, 2016
    Posts:
    3
    Directory is deleted , but the problem remained at Unity startup creates a new directory , but still infinitely loaded.

    First, I downloaded from the official site ".sh" and unpacked in the "/ home / ... / Documents /"

    then , video tutorials found in AUR
     
  4. spacepluk

    spacepluk

    Joined:
    Aug 26, 2015
    Posts:
    243
    The official ".sh" doesn't work out of the box. Make sure you uninstall that and try this package.
     
    ArtKuper likes this.
  5. ArtKuper

    ArtKuper

    Joined:
    Mar 16, 2016
    Posts:
    3
    Yes!!! bigest Thanks, all working!!!
     
  6. spacepluk

    spacepluk

    Joined:
    Aug 26, 2015
    Posts:
    243
  7. axredneck

    axredneck

    Joined:
    Mar 18, 2016
    Posts:
    3
    Installed unity editor from AUR today. Have the same error as above: "Service not available, please try again later."
    Does it work for you?: NO
    // Do you have chromium/chrome installed? Which package(s)?: google-chrome
    Do you have installed all packages listed as dependencies in the unity-editor package?: yes (yaourt -S unity-editor)
    Code (CSharp):
    1. [redneck@pylesos ~]$ pacman -Q unity-editor
    2. unity-editor 5.3.4f1+20160317-1
    "LD_PRELOAD=/usr/lib/libresolv.so.2" doesn't solve the issue.
    Antergos linux, up-to-date. (uses Arch's native repos to update, not it's own repos like Manjaro does)
     
  8. axredneck

    axredneck

    Joined:
    Mar 18, 2016
    Posts:
    3
    Code (CSharp):
    1. [redneck@pylesos ~]$ ls /usr/lib/libresolv*
    2. /usr/lib/libresolv-2.23.so  /usr/lib/libresolv.a  /usr/lib/libresolv.so  /usr/lib/libresolv.so.2
    3. [redneck@pylesos ~]$ LD_PRELOAD=/usr/lib/libresolv.so.2 /opt/Unity/Editor/Unity
    and Service still unavailable
     
    Last edited: Mar 19, 2016
  9. axredneck

    axredneck

    Joined:
    Mar 18, 2016
    Posts:
    3
    Can it be because of glibc 2.23 instead of <=2.22 ? Or maybe something is broken in Unity Editor 17.03.2016 against Arch?
     
  10. TemplateR

    TemplateR

    Joined:
    Mar 2, 2014
    Posts:
    21
    I have installed the first time unity on manjaro and I have a black screen for the "recent"-window.
     

    Attached Files:

  11. KnightsHouseGames

    KnightsHouseGames

    Joined:
    Jun 25, 2015
    Posts:
    850
    Read through the thread, the solution to that one is in here somewhere, it has something to do with some sort of temp folder not being created or something. Pretty much every common problem that exists in the Manjaro version has a solution in this thread somewhere
     
  12. TemplateR

    TemplateR

    Joined:
    Mar 2, 2014
    Posts:
    21
    You mean these 2 folders?

    This folders are already created.
     
  13. FuzzyQuills

    FuzzyQuills

    Joined:
    Jun 8, 2013
    Posts:
    2,871
    Which build? I thought that bug was fixed in the latest one, but maybe not for Arch. (It never actually affected me though, maybe it auto-generated the folders on install...)

    That reminds me, I have to try arch someday, I hear it's like building an engine. ;)
     
  14. TemplateR

    TemplateR

    Joined:
    Mar 2, 2014
    Posts:
    21

    This build:

    https://aur.archlinux.org/packages/unity-editor/
     
  15. WillCrawford

    WillCrawford

    Joined:
    May 16, 2016
    Posts:
    1
    I had that problem and it turned out from looking in the log file that I didn't have "npm" installed.

    Look in ~/.config/Editor.log
     
  16. TemplateR

    TemplateR

    Joined:
    Mar 2, 2014
    Posts:
    21
    Where do I find that log?
     
  17. FuzzyQuills

    FuzzyQuills

    Joined:
    Jun 8, 2013
    Posts:
    2,871
    '~' in any linux path means your home folder, so therefore:
    ~/.config/Editor.log = /home/<your username>/.config/Editor.log

    Note as well that pressing Ctrl + H may be necessary to have the .config folder show up in your file manager. (if you're using the cat command to print the log to stdout, that isn't necessary, as typing the path will access the file directly)
     
  18. badjano

    badjano

    Joined:
    Aug 2, 2012
    Posts:
    23
    When I try

    LD_PRELOAD=/usr/lib/libresolv.so.2 /opt/Unity/Editor/Unity

    this is what I get:

    ERROR: ld.so: object '/usr/lib/libresolv.so.2' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
    /opt/Unity/Editor/Unity: /opt/Unity/Editor/Data/Tools/libgpg-error.so.0: no version information available (required by /lib/x86_64-linux-gnu/libgcrypt.so.20)
     
  19. badjano

    badjano

    Joined:
    Aug 2, 2012
    Posts:
    23
    Ok, I found libresolv.so on ./lib/x86_64-linux-gnu/libresolv.so so I tried:

    LD_PRELOAD=./lib/x86_64-linux-gnu/libresolv.so /opt/Unity/Editor/Unity

    and it worked! It was totally a shot in the dark, but what I did was first go to the /usr/ directory, then searched for libresolv and when I found, I just replaced the libresolv.so.2 that spacepluk was using with mine, these were the commands:

    cd /usr/ # switched to /usr/ folder
    find . -name "libresolv*" # searched for the lib file, which printed 3 and libresolv.so was the closest one to libresolv.so.2, ao I then ran:
    LD_PRELOAD=./lib/x86_64-linux-gnu/libresolv.so /opt/Unity/Editor/Unity

    and voilá, Unity was connected to the internet! :)
     
  20. spacepluk

    spacepluk

    Joined:
    Aug 26, 2015
    Posts:
    243
  21. joapet99

    joapet99

    Joined:
    Dec 27, 2016
    Posts:
    1
    Unity editor is crashing when I try to open a project with a message "Aborted (core dumped)".
    When I looked through the journal I found something that may help:

    Code (csharp):
    1. May 06 10:00:59 joakim-arch systemd[1]: Started Process Core Dump (PID 2627/UID 0).
    2. -- Subject: Unit systemd-coredump@8-2627-0.service has finished start-up
    3. -- Defined-By: systemd
    4. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    5. --
    6. -- Unit systemd-coredump@8-2627-0.service has finished starting up.
    7. --
    8. -- The start-up result is done.
    9. May 06 10:01:02 joakim-arch systemd-coredump[2628]: Process 2566 (Unity) of user 1000 dumped core.
    10.                                                  
    11.                                                     Stack trace of thread 2566:
    12.                                                     #0  0x00007f81e1cfea10 raise (libc.so.6)
    13.                                                     #1  0x00007f81e1d0013a abort (libc.so.6)
    14.                                                     #2  0x0000000000d706dd _Z12HandleSignaliP7siginfoPv (Unity)
    15.                                                     #3  0x00007f81d466bc43 n/a (libmono.so)
    16.                                                     #4  0x00007f81d45cfa13 n/a (libmono.so)
    17.                                                     #5  0x00007f81ea394fe0 __restore_rt (libpthread.so.0)
    18.                                                     #6  0x000000000258b57c _ZN13GfxDeviceGLESD2Ev (Unity)
    19.                                                     #7  0x000000000259fe04 _Z19CreateGLESGfxDevice17GfxDeviceRenderer (Unity)
    20.                                                     #8  0x000000000255b94d _Z21CreateClientGfxDevice17GfxDeviceRenderer20GfxCreateDeviceFlags (Unity)
    21.                                                     #9  0x0000000000ce5b20 _Z19InitializeGfxDevice20GfxCreateDeviceFlags (Unity)
    22.                                                     #10 0x000000000097d6f2 _Z24InitializeEngineGraphicsb (Unity)
    23.                                                     #11 0x000000000168b8c0 _ZN11Application17InitializeProjectEv (Unity)
    24.                                                     #12 0x000000000196172a InitializeUnity (Unity)
    25.                                                     #13 0x00007f81eb87e0e3 n/a (libglib-2.0.so.0)
    26.                                                     #14 0x00007f81eb87d66a g_main_context_dispatch (libglib-2.0.so.0)
    27.                                                     #15 0x00007f81eb87da20 n/a (libglib-2.0.so.0)
    28.                                                     #16 0x00007f81eb87dd42 g_main_loop_run (libglib-2.0.so.0)
    29.                                                     #17 0x00007f81ec9513a7 gtk_main (libgtk-x11-2.0.so.0)
    30.                                                     #18 0x00000000004c0bdf main (Unity)
    31.                                                     #19 0x00007f81e1ceb511 __libc_start_main (libc.so.6)
    32.                                                     #20 0x00000000004db419 _start (Unity)
    33. -- Subject: Process 2566 (Unity) dumped core
    34. -- Defined-By: systemd
    35. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    36. -- Documentation: man:core(5)
    37. --
    38. -- Process 2566 (Unity) crashed and dumped core.
    39. --
    40. -- This usually indicates a programming error in the crashing program and
    41. -- should be reported to its vendor as a bug.
     
  22. Deleted User

    Deleted User

    Guest

    Similar issue?
    Archlinux, install from AUR.
    Load/create project screen is fine.
    Loading a project eventually crashes unity, before an interface is ever displayed. A blank window does exist for a few seconds.
    I've never even seen what the editor looks like.

    https://pastebin.com/5JiyfWSp

    There seems to be a lot in there, so I hazard a guess that what's relevant is at the very bottom, where it looks like there might be a bug in the mono native that runs?
     
  23. spacepluk

    spacepluk

    Joined:
    Aug 26, 2015
    Posts:
    243
    @pfdalt if this is with the beta try installing unity-editor-beta-android as well
     
  24. Deleted User

    Deleted User

    Guest

    No beta. No android. unity-editor.

    Though I do have android platforms installed on this machine. Are you implying I should install the beta and other packages even if I haven't?
     
  25. spacepluk

    spacepluk

    Joined:
    Aug 26, 2015
    Posts:
    243
    Maybe you can try deleting Library and Temp from that project and see if it helps.
     
    Jolaff likes this.
  26. Deleted User

    Deleted User

    Guest

    Project successfully launched after deleting Temp and Library!
     
    spacepluk likes this.
  27. Wilfer-Daniel-Ciro-Maya

    Wilfer-Daniel-Ciro-Maya

    Joined:
    May 2, 2016
    Posts:
    1
    When I look at the version of my openGL

    Code (CSharp):
    1. $ glxinfo | grep "OpenGL version"
    2. OpenGL version string: 2.1 Mesa 17.3.1
    Captura de pantalla de 2018-01-03 00-04-52.png

    but Unity now needs openGL > 3.3, There are three solutions to run it
    1. update video drivers (if they aren't)
    2. change GPU (if you have money)
    3. Acceleration by software (the one that I use now), the processor tries harder than when using hardware acceleration but it really works, to execute it:

    Code (CSharp):
    1. $ cd /path/to/Unity/Editor
    2. $ LIBGL_ALWAYS_SOFTWARE=1 ./Unity
    Captura de pantalla de 2018-01-03 00-06-35.png

    I hope it helps you to run Unity
     
  28. eKyNoX

    eKyNoX

    Joined:
    Feb 4, 2013
    Posts:
    14
    Hello, any way to install the latest preview (from 19th march, MLTP1) with Magic Leap target build added.

    I can't get the exact link from unity beta download to update it on pkgBuild.

    Thanks anyway
     
  29. spacepluk

    spacepluk

    Joined:
    Aug 26, 2015
    Posts:
    243
  30. eKyNoX

    eKyNoX

    Joined:
    Feb 4, 2013
    Posts:
    14
    Thanks spacepluk but there's not the technical preview with Magic Leap enabled on this thread.
     
  31. spacepluk

    spacepluk

    Joined:
    Aug 26, 2015
    Posts:
    243
    yeah, I don't think that's available for Linux.
     
  32. eKyNoX

    eKyNoX

    Joined:
    Feb 4, 2013
    Posts:
    14
    Ok thank you, let's wait