Search Unity

Linux headless build - I got no logs !

Discussion in 'Linux' started by Paradoks, Apr 3, 2019.

  1. Paradoks

    Paradoks

    Joined:
    Oct 13, 2009
    Posts:
    436
    Hi,

    Since a few days, maybe since i updated unity to latest version, i don't have any logs in linux builds.
    in root/.config/unity3d/MycompanyName/MyProductName/
    i got only "prefs" file.

    don't know what i did, or did not.
    Is there a way somehow to disable logs generation ?
    In player setting i got logging.scriptOnly all enabled.

    Any idea what happened ?

    thx
     
  2. Paradoks

    Paradoks

    Joined:
    Oct 13, 2009
    Posts:
    436
    I build with :
    Code (CSharp):
    1. -logfile mylogfile.log
    And still no logs, nobody on that ?
     
  3. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    I haven't checked if this is broken in latest Unity versions, but you could get this problem if it were a permissions issue. For example, if you were launching the build using a user which lacked write access. A quick check would be to just try launching the build as root.
     
  4. Paradoks

    Paradoks

    Joined:
    Oct 13, 2009
    Posts:
    436
    @Joe-Censored
    thx for your answer i should take care about that too.
    I fact i realised that the build option made it build in the folder of the executable.