Search Issue Tracker

Fixed in 2017.1.X

Votes

0

Found in

5.6.0p4

Issue ID

910464

Regression

Yes

Memory leak when traversing through prefab instances

Editor - Other

-

Fixed in 5.6.1p2

Simpler way to repro:
1. make sure the SceneWindow is set to Shaded
2. Type anything in HierarchyWindow search field.
3. cause the SceneView to repaint (by clicking on it for instance)
4. notice that each repaint will increase the memory used by unity in the Task manager.

Steps to reproduce:

1. Open attached "910464.zip" project
2. Open scene "test"
3. In project tab, select Cube prefab
4. Right-click it and select "Find References in Scene"
-- Notice that scene background is black instead of usual grey - also a bug
5. In hierarchy, select any of the cube instances
6. Using arrow keys (up/down) traverse though objects
-- Memory starts to build up and Unity (or whole system) freezes

Reproduced with: 5.6.0p4, 5.6.1p1
Doesn't reproduced: 5.6.0p3, 2017.1.0b5

Comments (6)

  1. CloudyVR

    Jul 24, 2017 01:40

    Simple searching in simple scene causes my PC to hard crash. What gives? I no longer can use search... its an awkward and very time consuming failure from an otherwise "simple" feature.

  2. Friks

    Jun 29, 2017 01:57

    I experience this in Unity 2017 as well

  3. Reelix

    Jun 17, 2017 21:15

    Current version of Unity (5.6.1f1 Personal) is heavily unusable due to this - Jumping to 20GB+ RAM Usage (And subsequently crashing Unity) after a dozen or so searches.

    Guess I'll have to wait till the update to continue learning :p

  4. Jonas-Neuston

    Jun 16, 2017 15:30

    Yeah, this is a severe issue for Unity 5.6 - it makes it impossible to search the hierarchy while playing the game. Having to make the jump over to Unity 2017 just to get functionality back seems like a big ask.

  5. Toadwolf

    May 23, 2017 12:11

    This bug is a game breaker for Unity 5.6. If I could still vote for it I would put all my votes here. Please fix for 5.6 as well!

  6. Gua

    May 20, 2017 14:41

    I would appreciate if this fix will be ported to some version of 5.6 line.

Add comment

Log in to post comment

All about bugs

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