# Slow working process when activating an object

**URL:** https://discussions.unity.com/t/slow-working-process-when-activating-an-object/415319
**Category:** Mobile
**Tags:** iOS
**Created:** [June 7, 2010, 8:40am UTC](https://discussions.unity.com/t/slow-working-process-when-activating-an-object/415319 "2010-06-07T08:40:35Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![mikolo](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/mikolo/32/308925_2.png) [@mikolo](https://discussions.unity.com/u/mikolo)
#### Post date: [June 7, 2010, 8:40am UTC](https://discussions.unity.com/t/slow-working-process-when-activating-an-object/415319/1 "2010-06-07T08:40:35Z")

</div>

hello,

i have a problem when i click(activate) some Objects in the Hierarchy…it seems to load something and it need time for 5 till 10 seconds to continiue working?

Somebody knows how to fix this problem?

---

<div class="post-metadata">

### Author: ![andeeeee](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@andeeeee](https://discussions.unity.com/u/andeeeee)
#### Post date: [June 8, 2010, 3:28pm UTC](https://discussions.unity.com/t/slow-working-process-when-activating-an-object/415319/2 "2010-06-08T15:28:52Z")

</div>

Does this happen intermittently or does it always happen with the same objects? Does it happen mainly with particular types of objects?

---

<div class="post-metadata">

### Author: ![mikolo](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/mikolo/32/308925_2.png) [@mikolo](https://discussions.unity.com/u/mikolo)
#### Post date: [June 8, 2010, 3:40pm UTC](https://discussions.unity.com/t/slow-working-process-when-activating-an-object/415319/3 "2010-06-08T15:40:47Z")

</div>

it happens always with the same objects. But i can`t see any difference to other objects or objects types?

i attached a screenshot…it happens when clicking the Player Object for example. Can you see a mistake i made?

 ![323413--11401--$screen_828.jpg](https://europe1.discourse-cdn.com/unity/original/4X/5/3/6/53640973068a46de60c3405ab8a5bc814613bb52.jpeg)

---

<div class="post-metadata">

### Author: ![andeeeee](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@andeeeee](https://discussions.unity.com/u/andeeeee)
#### Post date: [June 11, 2010, 11:00am UTC](https://discussions.unity.com/t/slow-working-process-when-activating-an-object/415319/4 "2010-06-11T11:00:32Z")

</div>

Is there any chance you can file a bug report for this and attach the project? It’s unlikely you are doing anything wrong as such (unless you are using an editor script that directly causes the slowdown 😉 ).

---

<div class="post-metadata">

### Author: ![mikolo](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/mikolo/32/308925_2.png) [@mikolo](https://discussions.unity.com/u/mikolo)
#### Post date: [June 11, 2010, 1:42pm UTC](https://discussions.unity.com/t/slow-working-process-when-activating-an-object/415319/5 "2010-06-11T13:42:26Z")

</div>

hello andeeee,

attached there is a HUD.js Script where it also happens.  
Maybe you can see what i am doing wrong in this script.

Thank you.

regards

[325267–11472–$hudjs\_709.zip](https://discussions.unity.com/uploads/short-url/oXrDaMCMjhvDp6zmSpf9lD1kBNq.zip) (2.36 KB)

---

<div class="post-metadata">

### Author: ![andeeeee](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@andeeeee](https://discussions.unity.com/u/andeeeee)
#### Post date: [June 15, 2010, 9:03am UTC](https://discussions.unity.com/t/slow-working-process-when-activating-an-object/415319/6 "2010-06-15T09:03:22Z")

</div>

There doesn’t appear to be anything in the script that would cause the slowdown. However, I notice you have an ExecuteInEditMode attribute commented out. Do the other scripts have this attribute active? If so, the script will be called regularly in the editor even if the game isn’t running. If any of the scripts have OnDrawGizmos/OnDrawGizmosSelected functions, then these will also be called during editing. If they are complicated or contain bugs then they could slow the editor considerably.

---

<div class="post-metadata">

### Author: ![mikolo](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/mikolo/32/308925_2.png) [@mikolo](https://discussions.unity.com/u/mikolo)
#### Post date: [June 15, 2010, 3:32pm UTC](https://discussions.unity.com/t/slow-working-process-when-activating-an-object/415319/7 "2010-06-15T15:32:39Z")

</div>

no thats not the reason…i uncommend all ExecuteInEditMode and all OnDrawGizmos/OnDrawGizmosSelected functions.

It`s finaly not better yet!

---

<div class="post-metadata">

### Author: ![andeeeee](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@andeeeee](https://discussions.unity.com/u/andeeeee)
#### Post date: [June 18, 2010, 10:53am UTC](https://discussions.unity.com/t/slow-working-process-when-activating-an-object/415319/8 "2010-06-18T10:53:17Z")

</div>

Well then, I think you may well have found a bug. Please can you file a report for it (menu: Help \> Report A Problem).

---

<div class="post-metadata">

### Author: ![mikolo](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/mikolo/32/308925_2.png) [@mikolo](https://discussions.unity.com/u/mikolo)
#### Post date: [June 20, 2010, 5:20am UTC](https://discussions.unity.com/t/slow-working-process-when-activating-an-object/415319/9 "2010-06-20T05:20:28Z")

</div>

OK i will do this… thanx
