Selecting all the gameobject in hierarchy crashesh the Unity editor

Hi Friends,

I am facing a problem and unable to understand what it is. When I select all the objects(active + inactive) in one of the scene the editor crashes. Please tell me the what might be the probable reason for this.

Regards,
Sovan

Are you using a loop?
Sometimes if the loop is incorrect it creates an infinite loop and causes a unity crash.

If you have many thousend gameobjects in scene and select them all the unity editor may need a bunch of time to process this. The timeafford is nearly linear to the number of objects selected. I once made a mistake and had around 50000 gameobjects in scene and was nearly unable to delete them in one step. I had to do this in many steps selecting smaller groups.

Best,
Andre