Search Unity

Phantom object in empty scene

Discussion in 'Editor & General Support' started by CTRLconsole, Oct 24, 2014.

  1. CTRLconsole

    CTRLconsole

    Joined:
    Jan 9, 2013
    Posts:
    19
    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?
     
  2. CTRLconsole

    CTRLconsole

    Joined:
    Jan 9, 2013
    Posts:
    19
    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..
     
  3. Dustin-Horne

    Dustin-Horne

    Joined:
    Apr 4, 2013
    Posts:
    4,568
    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).
     
  4. CTRLconsole

    CTRLconsole

    Joined:
    Jan 9, 2013
    Posts:
    19
    How would I figure out where it's coming from?

    It would make sense since all I did recently was upgrade NGUI.
     
  5. Dustin-Horne

    Dustin-Horne

    Joined:
    Apr 4, 2013
    Posts:
    4,568
    delete ngui from your project and see if it goes away
     
  6. CTRLconsole

    CTRLconsole

    Joined:
    Jan 9, 2013
    Posts:
    19
    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.
     
  7. Dustin-Horne

    Dustin-Horne

    Joined:
    Apr 4, 2013
    Posts:
    4,568
    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.
     
  8. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    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.
     
  9. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,438
  10. CTRLconsole

    CTRLconsole

    Joined:
    Jan 9, 2013
    Posts:
    19
    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