Unity3D - Button Only Works Once? - unity3d

This is super strange. This simple button is not clickable at all. But when I close the Unity and Mono editors and fire it up again, it will work - only once. I mean, the second time you hit the play button, the button will not work anymore. I didn't change settings of the button or the canvas. I just put them in the scene and click play button. I think this is a bug? But there's no log i can see. This is bugging me for good 30 mins. I even restarted my PC and still working only on the first hit of play button. Thanks
EDIT: just found the problem. This problem occurs when you use the Unity Remote app on Android. It will work first. But when you try it the second time, buttons are not responding anymore. The only solution I found for this is to reinstall the Unity. Tried restarting PC but didn't work. Soo, peace out. Thanks

Try to turn on the Force Module Active property on inspector in EventSystem. I had the same problem on Version 5.3.1 on my machine (macbook pro mid 2010 on OSX El Capitan). Deleted the Unity, rolled back to 5.2.2, upgrade to 5.3.3, the problem is still there. Did that and somehow it works, but I don't know the reason why

Related

System.Speech.Recognizer not working in background Unity

I am trying to build a voice assistant and so far i have succeeded very well, the only problem is when i launch the assistant it works flawlessly, untill i alt tab out of the window, or just simply switch to another software. The speech.recognizer (its a dictation recognizer) stops working and as far as i see can' t run in the background even though my project is set to work in the background. Everything else works again after manually restarting the dictation recognizer after being in the foreground again by OnMouseClick(). (That' s what i do atleast as OnLostFocus() seems not to work for me)
Anyone that has an idea on why it stops and how to fix it?
Thanks!
Tried restarting in the background by OnLostFocus() but didn' t work
You need to enable run in background option in the player settings

Having an issue where the on-screen stick component on unity doesnt get dragged anymore

I was working on a game of mine, and the stick was working initially, but on the latest compile, the stick doesn't move anymore, I cant say it it isn't getting clicked or there is an issue with the component, I'm fairly new to unity, please help!
Found the solution myself, I had accidentally Changed the action asset in the event system to a non default one that didn't have the button interactions.

Why might a Unity button stop working when X position is not 0?

I'm pretty new to Unity. I have a button that works perfectly in the editor. When I build it and run on Windows or Mac, the button stops working. Other buttons on the same canvas work fine.
If I recreate the button from scratch and then build after each setting, it seems that it stops working when move it - if the X position is 0 it works, otherwise it will not. It still works in the editor at runtime, but when I build it, it stops working.
I'm not sure where to look to see what is happening. Any ideas?
That doesn't seem right. Can you confirm that the Raycast Target is checked on your Button component? It might be that it is off and another object in the scene is preventing you from clicking on it.

I can not quit Unity Editor, only force quit

OS X 10.11.5
Unity 5.3.4p1
Every time I use command + q to quit my project or File-> Open Project, Unity stop working, it seems everything is freezed with mac loading ball below.
The only way out is to force quit.
Can you help me? Can you just give me a way to solve this
This really makes me crazy!!!
This looks like a bug that has been fixed in 5.4 beta According to Unity release notes.
Fixed issue whereby the launcher could crash on exit.
Download Unity 5.40B19 and this problem should gone.

why does the screen on my phone turns white when it detects the target?

I'm new to augmented reality, and I'm using vuforia 4.2.3 and unity 5, I followed all the steps trying to make a test run and whenever the camera detects the target the whole screen turn white, I've tried many thing but none of them worked, can someone help me?
I had a problem that sounds similar.
There is a known bug that causes white screen, could be related to that? See here for more info.
What worked for me was to change the VideoBackground.shader code, as described on that thread.
Go to Project>>Qualcomm Augmented reality>>Shaders
Double-click VideoBackground. This opens up Mono.
In the code, change where it says:
"queue"="geometry-11"
to this:
"queue"="Geometry"
Save, rebuild etc.
Worked for me.