- Home /
Unknown object covering UI
I just created a basic UI interface on a separate screen for my game. However, none of the buttons work in the least. I checked with play mode with eventsystem selected, but the buttons didn't even register. I double checked with looking at the buttons on a different scene, which definitely showed up. Does anyone have an idea of what could be covering my UI?
Hopefully these images help a little.
Answer by Piyush_Pandey · May 04, 2017 at 06:02 AM
Your Main Menu is having a Canvas component. I can't see all the components but make sure u have the Graphic Raycaster component attached to it.
Thank you! $$anonymous$$y main canvas had one, but apparently I forgot to put on on the $$anonymous$$ain $$anonymous$$enu canvas. That fixed the problem nicely.
Happy to help! Adding screenshot was a great thing to do from your side. It helped.