Custom Component Icon - flickering?

I’m trying to figure out if this is a unity bug, or if i’m missing something in my implementation.

My problem is very easy to reproduce:

  1. Create an empty script
  2. Select the script in the Project-View, click on the C#-Page-Icon and assign a custom icon to it
  3. Attach the Script to an empty gameobject in the scene - when you deselect the gameobject now, the icon appears.
  4. Try to Marquee-Select the gameobject now.

It starts flickering, and multi-object selection via the Marquee-Box is impossible.

To me it seems as if the following happens: Every UI-Update unity checks whats under my marquee-box. When it detects the custom icon, it selects the gameobject and then therefore hides the icon. on the next check, there is no more icon under the marquee box, thats why unity deselects the gameobject again.

Any Idea how to solve this? With unity’s built-in components this does work (just try the camera component for example).

Thanks upfront!

silent bump - anyone?

sorry for the double-post, but i thought the “scripting” forum might not be the right one, so i’ve created another thread in the “Extensions” forum (perhaps i described the problem better there?).

any help would be highly appreciated!! i’m totally stuck on this one!

Cheers and thanks