Search Unity

Error.log 23GB and locks up windows...

Discussion in 'Editor & General Support' started by B15HOP, May 6, 2019.

  1. B15HOP

    B15HOP

    Joined:
    Feb 15, 2019
    Posts:
    7
    I have a problem with unity filling up C: because it makes a horrendously large log file...

    59403752_444889942913642_1678399354429243392_n.png

    What I have done temporarily to fix the problem is make a read only file in its place that is empty.
    I'll let you guys know if this problem goes away....
     
  2. ecker00

    ecker00

    Joined:
    Oct 22, 2013
    Posts:
    2
    This happen to me today as well, I have a few more details on the event.

    I was editing a material in the inspector, switching source from "Metalic Alpha" to "Albedo Alpha". Unity froze for about 1 minute, before it became responsive again. I carried on working, not thinking much of it. A 1-2 minutes later I get warnings that I'm low on harddrive space, and looking at my space I saw it dropping, and continuing to drop rapidly. So I quit Unity (not force quit as it was responsive).

    Using DiskFanSpace4 i discover the file
    C:\Users\_username_\AppData\Local\Unity\Editor\Editor.log
    at 79 GB! I tailed the end of the file to see what the log was containing:

    The top line there was repeated endlessly, nothing else except at the end (as far as I could decipher from a 79 GB log file...).
    Code (CSharp):
    1.  
    2. selector_thread_wakeup_drain_pipes: recv () failed, error (10054)
    3.  
    4. selector_thread_wakeup_drain_pipes: recv () failed, error (10054)
    5.  
    6. selector_thread_wakeup_drain_pipes: recv () failed, error (10054)
    7.  
    8. Checking for leaked weakptr:
    9.   Found no leaked weakptrs.
    10. ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1557172381375,"processId":19036,"allocatedMemory":1029824186,"memoryLabels":[{"Default":-478332},{"NewDelete":21057264},{"Thread":-17},{"Manager":1280},{"VertexData":3312},{"Texture":162448},{"Material":16912},{"TextureCache":-45240},{"GfxDevice":14936},{"GfxThread":24},{"Audio":16688},{"Physics":13969},{"Serialization":1288},{"Terrain":112},{"String":672849},{"DynamicArray":51754},{"HashMap":15534},{"UTF16String":130},{"Curl":568},{"PoolAlloc":6128},{"ScriptManager":255552},{"Sprites":8},{"GI":26568},{"VR":3100},{"SceneManager":6232},{"SceneLoad":-6232},{"Secure":8},{"Image":69632},{"EditorGui":320},{"EditorUtility":1212},{"Undo":-5848},{"AssetImporter":1920},{"RestService":248},{"ProgressiveLightmapper":1007534132},{"UnityConnect":20720},{"WebViewCallback":329744},{"Collab":696},{"Upm":74567}]}
    Maybe related: (?)
    I wonder if this was related to the fact that I turned NordVPN on while Unity was running, then when Unity needed to contact the ShaderCompiler it was unable to (the 1 min hang I had when I switched a material setting). Because if I launch Unity while NordVPN is turned on, it just hangs and the Editor.log says this repeatedly:

    Code (CSharp):
    1. Failed to get socket connection from UnityShaderCompiler.exe shader compiler! C:/Program Files/Unity/Hub/Editor/2019.1.1f1/Editor/Data/Tools/UnityShaderCompiler.exe
    2.  
    3. (Filename: C:\buildslave\unity\build\Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 293)

    Hope this information helps in uncovering the issue.
     
    B15HOP likes this.
  3. konsic

    konsic

    Joined:
    Oct 19, 2015
    Posts:
    667
    I usually get low disk space when working with terrain.

    I wish the cache would be smaller and that one could place terrain memory on the drive where project is, not on drive C.
     
  4. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    6,317
    I'd take a look at what message is flooding the log and address whatever that issue is, instead of preventing logging.
     
    B15HOP likes this.
  5. vladk

    vladk

    Joined:
    Jul 10, 2008
    Posts:
    157
    good luck with that. Its size is so big you literally can't open it with any text viewing editor.


    It doesn't depend on just terrain. I've got no terrain objects in my project, yet it grows like hell. One android build and it goes from 0 to almost 5 Gb.
     
    Last edited: May 7, 2019
    B15HOP likes this.
  6. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    6,317
    You're being ridiculous. Just tail the file.

    Alternatively, just delete it and open it before it grows too large. It is almost certainly getting filled with a repeating message which will be obvious as soon as viewing it.
     
  7. vladk

    vladk

    Joined:
    Jul 10, 2008
    Posts:
    157
    Okay, I think I've found the reason for the Editor.log to grow so big. It does that if you don't have a connection to cloud services. As soon as I hooked up Unity through Tor proxy (which was an excruciating pain in my... head) the build logs just about 250 kb.
     
    B15HOP likes this.
  8. B15HOP

    B15HOP

    Joined:
    Feb 15, 2019
    Posts:
    7
    Exactly the same for me. Empty project yet I end up with 23GB of garbage???
     

    Attached Files:

    7DSFinch likes this.
  9. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    4,012
    Please submit a bug-report as described in this document:
    https://unity3d.com/unity/qa/bug-reporting

    It's important that you report these issues together with a reproduction project if you want them to get fixed. If you don't do it, it might be a long time until someone else reports them or until Unity Technologies find them.

    After you submitted the bug-report, you receive a confirmation email with a bug-report Case number. Please post the Case number (number only, not the link) in this forum thread for Unity staff to pick up.
     
    karl_jones and B15HOP like this.
  10. B15HOP

    B15HOP

    Joined:
    Feb 15, 2019
    Posts:
    7
    I did all that already. Cheers for the info.
     
  11. B15HOP

    B15HOP

    Joined:
    Feb 15, 2019
    Posts:
    7
    Update:
    I got a reply back from the support team regarding the bug submission. It might be something wrong with VS 2017
    "
    It is expected for error.log to be this big after long work sessions. It is save to remove it after work, as the file contains only logs of console errors, needed for debugging.
    Additionally, I have noticed that your Editor have crashed twice. From Crash stack trace I have noticed that crash occurred on Mono backend. Could you elaborate on how did it happen? Anything specific you did?
    As a workaround I can recommend you to switch to IL2CPP altogether with API compatibility to .Net 4.x and scripting backend also .Net 4.x."
     
  12. B15HOP

    B15HOP

    Joined:
    Feb 15, 2019
    Posts:
    7
    I can confirm that my log file has the same error repeated over and over:
    Code (csharp):
    1.  
    2. selector_thread_wakeup_drain_pipes: recv () failed, error (10054)
    3.  
     
  13. B15HOP

    B15HOP

    Joined:
    Feb 15, 2019
    Posts:
    7
    upload_2019-6-17_5-13-53.png
    My friend lost her mind when her editor log hit 71GB and she lost her work. :/
     

    Attached Files:

    7DSFinch likes this.
  14. 7DSFinch

    7DSFinch

    Joined:
    Jul 30, 2013
    Posts:
    9
    I'm sure it's expected for the log to get big, but for it grow to the entire size of the disk and have the same error repeated is almost certainly not expected behavior.

    I can get this with an empty project and leaving Unity running.

    There are at least two other threads with this issue and multiple users having problems with it. Would be lovely to get some more eyes on this from the Unity side of the house.
     
  15. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    4,012
    The forum is not really the place for them to search for bugs. If this issue is important to you, then you should submit a bug-report as described in this document:
    https://unity3d.com/unity/qa/bug-reporting

    It's important that you report these issues together with a reproduction project if you want them to get fixed. If you don't do it, it might be a long time until someone else reports them or until Unity Technologies find them.

    After you submitted the bug-report, you receive a confirmation email with a bug-report Case number. Please post the Case number (number only, not the link) in this forum thread for Unity staff to pick up
     
    karl_jones likes this.
  16. hexaJer

    hexaJer

    Joined:
    Aug 26, 2018
    Posts:
    6
    230GB for me ! :cool::D
    Unity 2019.1.6f1
     
  17. hexaJer

    hexaJer

    Joined:
    Aug 26, 2018
    Posts:
    6
    I can confirm now ! Same for me with Nord VPN !