GuiText above player's head

I’ve seen a few demos/articles on GuiText in Unity, and it seems to work for other people when simply adding the GuiText game object to the game, however, when I add it to my game it doesn’t appear anywhere.

I see the object in the scene, but I don’t see any text in the scene view or the game view. I can move it around, change its properties/etc, but only the object appears with no text on it.

I’ve tried this by simply adding the object and not attaching it to anything else, and also tried attaching it to other game objects in my world. The position/coordinates are correct, just no text is visible.

Is there something obvious I’m missing when when trying to configure GuiText?

GUIText objects use viewport space, not world space. http://wiki.unity3d.com/index.php/ObjectLabel

–Eric

Hello, thanks.

I’ve seen this article and followed it as well, to no avail.

Can you explain a little further why I’m not seeing anything visible when I simply place a GuiText in my game? I put a GuiText objcet in my world, added the ObjectLabel component to it. I’m not sure I understand the camera portion of the script. Do I attach it to a particular camera for each player?

As I mentioned, GUIText objects don’t use world space, only viewport space. They don’t really exist in the world. If the x/y is outside the 0…1 range then they are off-screen.

–Eric