Search Issue Tracker

Fixed in Unity 5.2.3



Found in


Issue ID




Memory leak when shadows are turned on (5.2 regression)




Priority: 2Necessary for shipping a final release


Severity: 2Core functionality majorly impacted

To reproduce:
1. Open the project in ""
2. Open the scene "testscene"
3. Build it to windows
4. Open task manager
5. bring the build into focus (click on it)
Observe that memory usage is gradually climbing. On my machine it is climbing at about 1.5 MB/minute. If the light is deleted, or the shadows turned off, the memory leak doesn't happen.

Reproduction in: 5.2.1p3, 5.3.0b3
No reproduction in: 5.0.4f1, 5.1.4f1

Comments (8)

  1. 9b2f003c85e2fe2a7c8c8a476f051b08?d=mm


    Nov 05, 2015 14:31

    It is fixed in patch release 5.2.2p2, here:


  2. 2e848aaef08e8bc019e5c036954d467d?d=mm


    Oct 30, 2015 14:33

    Alright, my bad, didn't see that it said that it has been fixed for 5.2.3 so we just need to wait for that. Any news on the release date though? This really looks like high priority. Thanks!

  3. 2e848aaef08e8bc019e5c036954d467d?d=mm


    Oct 30, 2015 14:31

    Same here and we're using the last version of Unity (5.2.2f1) so it has not been fixed people!

    Here is about 2 MB/sec and our last game build is currently crashing in some PCs with 6 RAM or less.

  4. 879c967ed51b0899e8a76c123c8dab9d?d=mm


    Oct 24, 2015 04:25

    Yes, I agree. It will have the heavy priority. My rate is also close to 6MB/s <a href="">Debenhams Discount Code</a>

  5. 0455368cc43ca613cc54863bdd947b9d?d=mm


    Oct 22, 2015 12:19

    Mine at 3MB/s because of 20 lights in a small scene

  6. 8003d525a89437b859f0dcc880e66696?d=mm


    Oct 22, 2015 09:38

    Yes, I totally agree. It should have the highest priority. My climbing rate is also close to 6MB/s.

  7. 3c8f4803c4e4dae10f9e4d6743fe72c2?d=mm


    Oct 22, 2015 08:21

    Mine climbs at 6MB/sec. It should be highest priority.

  8. 9b2f003c85e2fe2a7c8c8a476f051b08?d=mm


    Oct 21, 2015 20:53

    Also found in 5.2.2f1

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.