Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

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:
    995
    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:
    8,953
    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:
    160
    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:
    8,953
    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:
    160
    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

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,102
    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:
    10
    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

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,102
    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:
    7
    230GB for me ! :cool::D
    Unity 2019.1.6f1
     
  17. hexaJer

    hexaJer

    Joined:
    Aug 26, 2018
    Posts:
    7
    I can confirm now ! Same for me with Nord VPN !
     
  18. korober

    korober

    Joined:
    Jan 20, 2015
    Posts:
    7
    Confirmed, the problem occurs when NordVPN is ON!
    Did anybody post this in issue tracker?

    selector_thread_wakeup_drain_pipes: recv () failed, error (10054)
     
  19. Whatsapokemon

    Whatsapokemon

    Joined:
    Jun 26, 2018
    Posts:
    1
    I bought a new SSD about a week ago and was wondering how it was already filling up so fast. Turns out Unity had
    generated a 200+gb log file with the same error others are reporting.

    I notice in my task manager that as soon as I connect to NordVPN, Unity immediately starts writing to the disk at around 8MB/s.

    Even if I disconnect from NordVPN it seems to continue writing at this same speed.

    In the ~10 minutes I was testing this it'd already generated 2GB of logs with the same error repeated. It's definitely 100% reproducible. I submitted the bug report through the editor.
     
  20. forestrf

    forestrf

    Joined:
    Aug 28, 2010
    Posts:
    99
    I don't use any VPN and also happens to me, but seems random. It just decides to start filling the log file with that error. Maybe internet stops working for a moment, but I doubt it.
     
  21. ctmctm5

    ctmctm5

    Joined:
    Jul 1, 2013
    Posts:
    5
    This is definitely related to NordVPN. Unity used to just freeze when connecting to nordvpn, but now it does this. I had a 60 GB log file filled with "selector_thread_wakeup_drain_pipes: recv () failed, error (10054)". This needs to be brought to the attention of the developers.
     
  22. Totalschaden

    Totalschaden

    Joined:
    Dec 14, 2013
    Posts:
    31
  23. forestrf

    forestrf

    Joined:
    Aug 28, 2010
    Posts:
    99
    Given that I never used a vpn and also get this bug randomly, I would assume it is related to Unity not being able to handle network connectivity issues rather than a problem with vpn specifically.
     
    nzhangaudio likes this.
  24. BarboraVas

    BarboraVas

    Unity Technologies

    Joined:
    Jul 2, 2019
    Posts:
    1
    If you're using NordVPN, you're most likely going to have issues with Unity. Fortunately, there are some workarounds that you can try out if you don't want to work with your VPN disabled until this gets fixed!
    -Try switching to the TCP protocol through the NordVPN application
    -If the previous solution doesn't help, try manual OpenVPN connection using NordVPN servers
    You can contact their support for the exact steps on how to do that or refer to their help site.

    Hope this helps!
     
  25. Temka_193

    Temka_193

    Joined:
    Oct 24, 2015
    Posts:
    35
    I do not use VPN, but I have the same problem.
     
  26. nzhangaudio

    nzhangaudio

    Joined:
    May 26, 2015
    Posts:
    11
    What's preventing Unity team from fixing this issue? It seems like the issue with NordVPN has been there for 1.5 years.
     
    Zebadiah and CheekySparrow78 like this.
  27. 7DSFinch

    7DSFinch

    Joined:
    Jul 30, 2013
    Posts:
    10
    Don't use Nord. Do have this problem. Just had to delete a 22GB editor.log which had filled my C drive after 2h away from my desk.

    Can we please get some feedback or control over the management of the editor.log file? This is absolute insanity and you folks should have more than enough information at this point to mitigate this somehow.
     
  28. Temka_193

    Temka_193

    Joined:
    Oct 24, 2015
    Posts:
    35
    The problem is not VPN, probably the problem with the network as a whole.
    I am creating a new EMPTY project on ANY version of Unity, after about 20 minutes of idle time, the log file begins to overflow.
     
  29. CheekySparrow78

    CheekySparrow78

    Joined:
    Feb 9, 2019
    Posts:
    15
    It's not just Nord. I've first encountered this issue after I've began using Windscribe VPN. As the person above me writes, it's possible the issue lies not in the specific VPN, but in network setup.
     
  30. createdbyx

    createdbyx

    Joined:
    May 24, 2012
    Posts:
    39
     
  31. Jaakk0S

    Jaakk0S

    Joined:
    Apr 19, 2020
    Posts:
    5
    This. Yes, NordVPN.

    I located the start of the endless error output from my 51GB Editor.log. This is what it shows when my application output ends and issues start.


    LightingSettings: switching bake backend from 1 to 2.
    Unloading 172 Unused Serialized files (Serialized files now loaded: 0)
    Loaded scene 'Temp/__Backupscenes/0.backup'
    Deserialize: 24.807 ms
    Integration: 32.733 ms
    Integration of assets: 0.004 ms
    Thread Wait Time: 13.171 ms
    Total Operation Time: 70.715 ms
    System memory in use before: 0.75 GB.
    System memory in use after: 0.57 GB.

    Unloading 188 unused Assets to reduce memory usage. Loaded Objects now: 11475.
    Total: 22.914300 ms (FindLiveObjects: 0.912400 ms CreateObjectMapping: 0.278300 ms MarkObjects: 10.396000 ms DeleteObjects: 11.327000 ms)

    [Collab 2020-0819 22:14:04 GMT][Error] 'Cannot check seat status.' (511) returned in 'C:\buildslave\unity\build\Editor/Src/Collab/Requests/CheckTeamSeatsRequest.cpp' at line 42
    [Collab 2020-0819 22:14:04 GMT] CheckTeamSeatsRequest failed, Reason: 0 Url: https://api.unity.com/v1/entitlements?isActive=true&namespace=unity_teams&type=TEAMS&tag=UnityTeamsFree&tag=UnityTeamsStandard&tag=UnityTeamsPro&userId=5772487229358&assignFrom=5772487229361 Result:
    selector_thread_wakeup_drain_pipes: recv () failed, error (10054)

    selector_thread_wakeup_drain_pipes: recv () failed, error (10054)

    selector_thread_wakeup_drain_pipes: recv () failed, error (10054)

    selector_thread_wakeup_drain_pipes: recv () failed, error (10054)

    selector_thread_wakeup_drain_pipes: recv () failed, error (10054)

    selector_thread_wakeup_drain_pipes: recv () failed, error (10054)

    selector_thread_wakeup_drain_pipes: recv () failed, error (10054)
     
unityunity