#Untracked Memory Leak

1 messages · Page 1 of 1 (latest)

near ledge
#

Does anyone have any info about this untracked memory issue? I started having this problem about 2 or 3 weeks ago. I'm using Unity 6000.2.6f1.

It happens both in the Editor and in the PC build. The game's memory just keeps going up and never goes down. Eventually, it reaches the point where there's no memory left on the PC, causing the game to freeze and force close. My game is a 2D multiplayer game

zealous verge
#
  1. You should probably fill a bug report.
  2. Are you using any native plugins that could be allocating memory
near ledge
#

Sorry, but can you tell me more about native plugins? Like, what are some examples of them

zealous verge
#

Or maybe you have some unsafe C# code that allocates memory directly, bypassing the garbage collector?

near ledge
#

I'm definitely not using any unsafe code. I did use several assets from the Asset Store, but aside from those, nothing else comes to mind. Currently, I'm testing on a different Unity version — 6000.1.17f1, downgraded from the previous 6000.2.6f1. This is the result image in the Editor (the previous images were from the PC build). So my guess is that there's something wrong with version 6000.2.6

#

I'm going to build for the PC platform and run more tests to confirm whether the issue is caused by a Unity version difference

near ledge
#

Well, I'm kind of leaning toward Unity version 6000.2.6f1 being the culprit. I mean, when I switched back to 6000.1.17f1, everything went back to normal. I'm not 100% sure, but I'll stick with 6.1 for now.

The images above were tested on a built version for the PC platform using Unity 6000.1.17f1