Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    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.