Phantom object in empty scene

Hi All,

Something new and (in the theme of Halloween) ‘ghostly’ is happening in my Unity Editor.

I am seeing a set of objects in all my scenes that shouldn’t be there. Even when I create a new scene and remove everything from the hierarchy they remain. How do I get rid of it?!

It’s there when I play too in a different scene.


It’s quite literally on every scene I have! It was working before I upgraded NGUI from 2.2 to 2.7 and removed FastGUI.

Unity 4.3.4f1
Mac OS X 10.8.5

Any thoughts? Will upgrading Unity to 4.5 help?

Just found another oddity. When I open up Unity to that blank scene, the phantom object is no longer there!

But then it reappears if I go to another scene and/or come back!

The mystery continues…

it looks like a window that’s being created by one of your editor extensions and I see you have at least a couple (ngui and prime31).

How would I figure out where it’s coming from?

It would make sense since all I did recently was upgrade NGUI.

delete ngui from your project and see if it goes away

Trick is when I delete NGUI, nothing in my app works since it’s almost entirely made with it.

I deleted it, but nothing worked. When reinstalled, the phantom screen is back.

right, well something in ngui is causing it. Either its an ngui setting or a bug. You’ll need yo read the docs or contact the ngui developer to figure it out unless someone else knows. It’s not actually an object in your scene though. Just a custom editor window.

Best post in the NGUI forum about this problem.
My guess is that this is the debug mesh generated from a GUI and got accidentally not cleaned up.

Maybe could make editor script to display all hidden objects,
Find all gameobjects, set hideflags to none if its hidden:

Just posted on NGUI forums. Hope someone knows there.

@mgear I used someone else’s script to find all gameobjects from here, it looks normal to me… Do you see anything?

Charging forward with the upgrade to NGUI 3.0.7 f3. Interestingly, the phantom panel is still there! #mystery