- Home /
Buttons not working after reopening unity
I am new to unity and decided to make a small clicker game to get myself accustomed to unity, and all the functions of the buttons i had made worked until i closed unity and opened it again the next day i can click on the button yet none of the things i want it to do happen.
Maybe you didn't click save before you closed. But we're going to need some more specifications in order to answer this question.
Answer by Bicsi · Jun 29, 2021 at 08:34 AM
Well you have not given us alot to work with here. You should screenshot the inspector element of your button as well as the object with the script attached, and give us the code that the button is running.
But here are some things that you can try:
Have you checked that the function called in the script is still being called on the button?
Have you loaded the right scene back up again?
Does your OnClick function have any pre-requisites to function properly?
Totally agree with @Bicsi. We need more informations to help you.
Your answer
Follow this Question
Related Questions
how to hide this if button click 1 Answer
Unity 5 - pause menu bug 0 Answers
AddExplosionForce help! 1 Answer
Trying to enable an input-field, once disabled. 1 Answer
Show UI Button press color from script when invoking onClick 2 Answers