Unity Remote for Android not working (solution)
I have seen a lot of requests for people looking for help getting the Android Remote working.
I have been at it for a few hours to get it working on my new tablet. So here is a guide to getting it working.
Follow these steps and you should have no problems on any device (famous last words).
Step 1 - Download Android SDK
Step 2 - In the SDK installer ensure you install "Google USB Drivers"
Step 3 - Go to device manager and make sure your device has its drivers installed. You can get more help here. http://developer.android.com/sdk/win-usb.html
Step 4 - In Unity under preferences set the path to the Android SDK. C:\Program Files (x86)\Android\android-sdk or something similar.
Step 5 - Close Unity
Step 6 - On your android device ensure that in Application Settings that USB Debugging, Stay Awake and Allow Mock Locations are all enabled.
Step 7 - Connect via USB and launch the remote app.
Step 8 - Launch Unity
Step 9 - Run your game in the editor
Step 10 - Enjoy
Each time you restart the Unity Remote app you must restart Unity or the app will not pick it up. If I am in for a long dev session I plug in device and run remote and then begin work. Means I dont have to keep restarting Unity.
I hope this helps everyone who has a problem with Unity Remote on Android.
First I found that "Unity Remote" is actually an app on the Google Play Store. But still no luck. I believe my drivers and firewall are all fine but no way to test. Is it working with the without Unity Android license?
It seemed that the drivers where not correctly installed even though the Google Drivers were marked as working. It would be nice to have every version of Unity being able to check if the phone USB is correctly setup. Something like a red/green light or whatever.
After that, I didn't have to restart Unity which is really good and the Android displays the game screen.
It's not always the best idea to install google's USB drivers. for some phones only the manufacturer's drivers will enable the use of USB debugging. If you want it to work for your phone, just search for "setting up ADB on DEVICENA$$anonymous$$E" and you will probably find what you need to do. If ADB see's your device, it should work in Unity.
a simple check is to run "adb.exe" that comes in platform-tools in the sdk from command line as "adb devices" if you see something listed, then you are good to go (in theory).
Adb working? check. Launch unity remote, check. Launch Unity and play your game.
Would it work on Touch screen $$anonymous$$onitors? $$anonymous$$onitors?
Thank you! I installed the Android SD$$anonymous$$, downloaded the remote app, but couldn't get it working until I read this. I wasn't starting the remote app BEFORE Unity. That fixed it. Thanks for writing this up!
Thanks!! had my phone and tablet working with my mac, but couldn't get it to work in windows 7. Didn't think that the USB drivers needed to be installed manually since windows installed them when I first plugged in the devices!!
Answer by Stardog · Oct 04, 2012 at 04:23 PM
This solved it for me:
http://zacktutorials.blogspot.ca/2012/08/nexus7-android-development.html
Thanks, this solved my problem, I am using PTP as it was recommended there.
Thanks, the info is still valid. I needed to turn on the debug mode on my Samsung Galaxy S4 for the new Unity Remote 4 as well.
PTP did if for me, after I got it authorized: http://stackoverflow.com/questions/18011685/cant-connect-nexus-4-to-adb-unauthorized
I was trying to get my 'Note 2' working with Unity Remote 4 and this did the trick. Had to restart Unity afterward before it worked. Steps:
Change to PTP
Enable Developer $$anonymous$$ode & Select Options
Restart Unity
Answer by shemz · Jun 19, 2014 at 09:32 AM
Step 1 - Download Android SDK
Step 2 - In the SDK installer ensure you install "Google USB Drivers"
Step 3 - Go to device manager and make sure your device has its drivers installed. You can get more help here. http://developer.android.com/sdk/win-usb.html
Step 4 - In Unity under preferences set the path to the Android SDK. C:\Program Files (x86)\Android\android-sdk or something similar.
Step 4.1- Download the Remote app according to your platform, http://docs.unity3d.com/Manual/UnityRemote4.html
Step 4.2- In editor go to Edit->Project Settings->Editor and under Unity Remote select what device to use.
Step 5 - Close Unity
Step 6 - On your android device ensure that in Application Settings that USB Debugging, Stay Awake and Allow Mock Locations are all enabled.
Step 7 - Connect via USB and launch the remote app.
Step 8 - Launch Unity
Step 9 - Run your game in the editor
Step 10 - Enjoy
i added two more steps to the original and everything worked fine :)
The extra trick for me was step 4.2, no other tutorials mention going into Project Settings and selecting None to Any Android Device. Restarting Unity and having the Unity Remote app open before was the trick for me.
Project settings -> Editor -> Device -> None to Any Android Device is really the key.
To anyone who followed this and didn't get it to work:
CHANGE YOUR BUILD SETTINGS TO ANDROID AT LEAST ONCE.
You can change it back right after, but after changing it to android, remote 5 worked perfectly. I was able to close the editor and open it again with my build settings for desktop and it still functioned.
Answer by BarryFoye · May 20, 2014 at 12:11 PM
I have a Samsung Galaxy Tab 3 7.0 and the device drivers from Google were my problem. I downloaded the Samsung Andorid USB Driver for Windows from here: http://developer.samsung.com/android/tools-sdks/Samsung-Andorid-USB-Driver-for-Windows and it worked straight away.
Anyway this driver will only work for Samsung devices but if you're having the same problems with your own device and Unity Remote, go to your Device Manager on Windows and make sure in the other devices branch (when your device is connected) there are no yellow "!" indicating problems with the drivers you currently have installed, if so then try find your device manufacturers official drivers and hopefully this will solve your problem.
Answer by stark_sarthak · May 11, 2016 at 07:29 PM
I was fed up with this problem for 6 hours or so and then i found the following solution :-
BlueStacks (android emulating software) interferes with Unity's ability to communicate with a cable connected android device. So even if bluestacks is just installed on your system and not even running, it will interfere with Unity's remote app and it won't be able to run on your physical device connected via a cable. This is valid for android but I dont know about iOS because i don't use it.
Solution - Open windows task manager and kill all tasks with the name "BS" or "Bluestacks" written on them. Then connect your device with Unity remote and follow the normal procedure as mentioned in all threads and tutorials. It shall work like a charm.
This might not be valid for everyone who's unity remote is not working but I thought I'd just share my personal experience so it could help someone out.
this solved my problem! i just deinstalled bluestacks, now everything works fine!
Thank you so much $$anonymous$$r. Stark your solution solve my problem! I've been looking around the internet since yesterday because my Unity remote 5 does not connect in my editor. And I finally found the answer from you!
Answer by blenderblender · Oct 08, 2014 at 01:35 PM
You must download and install the andoird sdk and the usb driver you can find the usb driver here : http://developer.android.com/sdk/win-usb.html#top
and the sdk here:
Your answer
Follow this Question
Related Questions
Android vs iOS build capacity 0 Answers
Unity Remote 5 and Samsung S9 1 Answer
Connecting unity to SQL 1 Answer
[App Android/Ios/Windows Phone] phone's volume 0 Answers
Set-up Android SDK path to make Android remote work 0 Answers