Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[Solved] Worldspace button's text drawing behind the button

Discussion in 'UGUI & TextMesh Pro' started by absolute_disgrace, Sep 11, 2016.

  1. absolute_disgrace

    absolute_disgrace

    Joined:
    Aug 28, 2016
    Posts:
    253
    So i created a simple Canvas that's part of the world space, so it can be placed next to things if clicked on. On this canvas is a single button. On this button is the standard text element that is created with the button. The problem is that when i open my project, sometimes the button text isnt visible. Its still there, but it appears its being drawn behind the button and not in front of it.

    A quick google search didn't bring up any answers. Is this a problem anyone else has faced? Is there a simple solution?
     
  2. absolute_disgrace

    absolute_disgrace

    Joined:
    Aug 28, 2016
    Posts:
    253
    Seems like an editor only problem. I've tried building this and running it normally. Button displays fine.