Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

2017.1.0f1: (Case 924911) Memory Leak when searching in the hierarchy

Discussion in '2017.1 Beta' started by Peter77, Jun 27, 2017.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,619
    Searching in the Hierarchy causes Unity to constantly allocate memory up to the point that Unity either crashes or turns unresponsive. Please see video that is attached to the bug-report.

    Reproduce
    • Open user project
    • Open Assets/Scene.unity
    • Open Windows Task Manager and select Unity Process
    • In Unity, enter "cube" in the Hierarchy search field
    Observe in the Windows Task Manager that memory increases (5 GB in a few seconds here).

    Expected
    Searching the Hierarchy should not cause the editor to crash or turn unresponsive.


    PS: I found this item in your issue-tracker:
    https://issuetracker.unity3d.com/issues/memory-leak-when-searching-in-the-hierarchy
    It says "Not reproduced on: 2017.1.0a2 2017.1.0b5", but now this issue occurs in 2017.1.0f1 as well.
     
  2. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    These memory leaks are becoming common, is Unity doing anything about them, I seen few reported..
     
  3. ProtonOne

    ProtonOne

    Joined:
    Mar 8, 2008
    Posts:
    406
  4. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,619
  5. Alex-Lian

    Alex-Lian

    Guest

    magique, Peter77 and MrEsquire like this.
  6. Alex-Lian

    Alex-Lian

    Guest

    We actually have testing to make sure we don't introduce more leaks via scripts and standard runtime scenarios - however things like this where it's a specific UI interaction are rather hard to test for this. So, thanks for helping find them and we'll squash them.
     
    magique and MrEsquire like this.