Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Trying to use on Linux, but problem on startup

Discussion in 'Getting Started' started by AndyRozman, Nov 2, 2023.

  1. AndyRozman

    AndyRozman

    Joined:
    Nov 2, 2023
    Posts:
    7
    HI !
    I sucessfully installed unityhub on 22.04 LTS Ubuntu and then Unity 2022.3.12f1 LTS and everything looked ok, but when I tried to start Editor (created new project with AR support), I get switched into Safe Mode (I have set my file limit to 4096 just in case).

    It seems that several dll's (most from Library/Bee/artifacts/1300b0aE.dag/) fail to be copied into Library/ScriptAssemblies/ with cp

    Sample Output from Console:
    Library/ScriptAssemblies/UnityEditor.SpatialTracking.dll: Failed to copy "Library/Bee/artifacts/1300b0aE.dag/UnityEditor.SpatialTracking.dll" to "Library/ScriptAssemblies/UnityEditor.SpatialTracking.dll" with cp

    Did someone enounter similar problem before? I am opening "empty" game, haven't started doing any changes yet.
     
  2. AndyRozman

    AndyRozman

    Joined:
    Nov 2, 2023
    Posts:
    7
    Ok Found the problem. While installing I put all Unity stuff to my NTFS drive (I have dual boot computer so some drives are in NTFS so that they can be accessed by both parts).

    On Linux when NTFS is used permissions handling is ignored (in background), but when Unity tried to install certain files into project it copied it and then tried to apply permissions, which failed.

    So if you plan to use Unity on linux make sure you put it into native fs and it should work ok from there.