- Home /
UI Problem for Game
Hi, I'm working on my game and I can't figure out these problems. The UI from my Main Menu scene bleeds into the Game UI in the Game Scene. I don't think I have anything code related that triggered this issue. In addition, the Game UI is bugged out for some reason, rendering two of the same text at once. I checked the hierarchy and it says it just rendering one.
Answer by unity_ek98vnTRplGj8Q · Dec 16, 2019 at 07:37 PM
It seeeeems like maybe you don't have a background in your scene. If you don't, try adding one. What may be happening is the camera is rendering nothing in the black areas of the screen, so old UI and text is never drawn over. If you add a background it will force the camera to draw over whatever it had previously rendered.
I deleted one of the camera that was supposed to render the UI using Depth Only and just used the Game Camera ins$$anonymous$$d. That also helped for it to not draw over.
Thanks so much :)
Your answer
Follow this Question
Related Questions
How can i link my code together so the score value affects the timer value 1 Answer
Sorting Error 0 Answers
Ui extension bug 0 Answers
Highscore PlayerPrefs not working on iOS 0 Answers
UI Dropdown bug 1 Answer