Search Issue Tracker

Fixed in Unity 2017.1

Votes

0

Found in

5.6.0p4

Issue ID

910464

Regression

Yes

Memory leak when traversing through prefab instances

Editor - Other

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 1Crash or major loss of functionality

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. 4cec0cf975060308c74f225225a1c38f?d=mm

    trappist-1

    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. E926c7fb6334fe49b606406cf84882ab?d=mm

    Friks

    Jun 29, 2017 01:57

    I experience this in Unity 2017 as well

  3. 8bcc2e2a2c3e1626f9575ecaded40b2b?d=mm

    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. D6d28da745450503a1747ab9c281807b?d=mm

    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. Ffcc93b6f21d49d1b83e29a251194cb8?d=mm

    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. F461b8dfb4525bed212c104574a9ace8?d=mm

    Gua

    May 20, 2017 14:41

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

All about bugs

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