r/unity • u/STEMARKOT • 5d ago
Solved WHAT'S WRONG with this UI

P.S ( PROBLEM SOLVED ) Thank's everyone for helping me ( really thanks ! )
i found solution for this problem ( it was so basicly dumb ) in one ofmy old scripts i just locked mouse and bc of that in game i can't interact with them ( yeah dumb me ) but now i fixed it so Thanks Y'all!
( Okay i'm really mad like i did all like in tutorial it didn't worked ,then i used chatgpt to help , didn't help neither I REALLY DON'T KNOW WHAT THE PROBLEM i put everything but this button in Raycast Target FALSE AND STILL NOTHING ... And the last THING THAT STUPID buttons not working as well RAAAARHHH
I'm so burned out )
10
u/Soraphis 5d ago
If you asked the AI in the same eloquent fashion you did here, im not questioning why it could not resolve your problem tbh.
Create an empty scene. Only ui and a single button. As action let it disable its own GameObject.
If this does work, go one step at a time until you recreate the ui you wanted
1
u/MistakeForsaken6653 5d ago
Do you have an event system in the scene? It's not clear from the post what isnt working but I'm assuming it's just not logging "Opening Settings"
1
u/Hanntman 4d ago
Btw you can check what you are hitting with raycast if you select eventSystem in play mode
0
u/Fofanius 5d ago
If it's the only button that doesn't react - something cover it (transparent and rayacst target) If any buttons (and other elements) doesn't react - I assume you don't have EventSystem in your scene