Search Unity

What is ["##utp:{"type":"memoryleak"}"] ?

Discussion in 'Editor & General Support' started by Thermos, May 5, 2019.

  1. Thermos

    Thermos

    Joined:
    Feb 23, 2015
    Posts:
    148
    When I check the player log, I often found the log file is incomplete and ended with:

    ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1557041259996,"processId":20924,"allocatedMemory":4241655,"memoryLabels":[{"Default":1048},{"NewDelete":2168},{"Thread":8},{"Manager":320},{"VertexData":6432},{"GfxDevice":17600},{"GfxThread":24},{"Physics":32},{"Serialization":40},{"File":2964},{"Terrain":88},{"String":1531},{"DynamicArray":8660},{"PoolAlloc":-88},{"Sprites":2332},{"VR":536},{"SceneManager":1680},{"SceneLoad":-280},{"NativeArray":4196552},{"Secure":8}]}

    What does it mean? The game still runs as expected, also there is no warning of any kind of memory leak when I play the game in playmode.
     
    tillmonkthered and KB73 like this.
  2. ALaramee

    ALaramee

    Joined:
    Jan 8, 2019
    Posts:
    3
    I am also seeing this in my output_log, albeit with slightly different labels and numbers. It doesn't seem to be affecting my game either but it would be great to know if it's a potential issue.

    Unity version 2018.3.0f2
     
    KB73 likes this.
  3. KB73

    KB73

    Joined:
    Feb 7, 2013
    Posts:
    234
    bump
     
  4. Le-nain

    Le-nain

    Joined:
    Nov 26, 2012
    Posts:
    62
    Bump. It's even worse here, this is the only message that is logged in before our Windows x64 build crashes. No other message, exception, crash report... The log just seems cut off after that weird json message.
    We have no idea where to look to fix anything..
     
    akuno likes this.
  5. ShervinM

    ShervinM

    Joined:
    Sep 16, 2017
    Posts:
    67
    Any chance you figured out what was happening? Have the same issue here where the log spits that out then the player just crashes :(
     
  6. ALaramee

    ALaramee

    Joined:
    Jan 8, 2019
    Posts:
    3
    I never received any feedback on this issue, though I didn't look very hard as it never caused any serious problems in my game. If I hear anything I'll update here.
     
    ShervinM likes this.
  7. Thermos

    Thermos

    Joined:
    Feb 23, 2015
    Posts:
    148
    Gone since upgraded to 2019.2. Don't know which issue id specific, but...it's fixed.
     
    ShervinM likes this.
  8. Le-nain

    Le-nain

    Joined:
    Nov 26, 2012
    Posts:
    62
    Sorry, I was on holidays.

    In fact, the crash turned out to be completely unrelated to that message, so I would suggest ignoring it completely. Alson I have been told by someone from Unity in some other place that this message is a completely normal output when the app closes, which confirms that feeling.
     
    ShantiB95 likes this.
  9. qcha0s

    qcha0s

    Joined:
    Sep 20, 2013
    Posts:
    4
    Back in 2019.4.25f1
     
  10. rhys_vdw

    rhys_vdw

    Joined:
    Mar 9, 2012
    Posts:
    110
    We're seeing this for the first time in a macOS build after upgrading to 2019.4.28f1. As above I am unable to glean any more info from the log file, as the rest of the content is seemingly unrelated.
     
  11. david-wtf

    david-wtf

    Joined:
    Sep 30, 2021
    Posts:
    25
    Seeing this in our tests, too. It seems that these are regular memory statistics, but I wonder what "utp" stands for?
     
    CSaratakij likes this.
  12. sillyninja65

    sillyninja65

    Joined:
    Dec 1, 2022
    Posts:
    9
    i have this before it crashes but only in the build game not the editor. i thought it was possibly memory leaks but the editor never specifies that and it always does.

    im using photon 2, maybe its something to do with that.

    also only seems to happen when connected to another player and not single player
     
  13. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    I just shows the amount of unfreed memory when the process exits. You shouldn't worry about it.
     
    ishii_20220421 and Neil-Corre like this.