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.
thanks i have bean looking for a way to use the remote
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 DEVICENAME" 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 Monitors? Monitors?
Thanks for this.
Answer by Stardog
Oct 04, 2012 at 04:23 PM
This solved it for me:
Thanks, this solved my problem, I am using PTP as it was recommended there.
thanks this helps a lot
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.
this worked for me as well
PTP did if for me, after I got it authorized: http://stackoverflow.com/questions/18011685/cant-connect-nexus-4-to-adb-unauthorized
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 shemz
Jun 19, 2014 at 09:32 AM
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.
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.
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:
Answer by ZeptoByte
Jan 08, 2015 at 05:30 PM
To enable Application Settings that USB Debugging, Stay Awake and Allow Mock Locations, on a Samsung Galaxy S5.
Go to System Settings, on the device.
Tab 7 times, on the build number, A warning tells you, that developer mode has been enabled.
Go back, and right over About device there is a new option called Developer options, click on that.
Turn on Stay awake.
Turn on USB debugging.
Turn on Allow mock locations
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
52 People are following this question.
using android device for xyz coordinates
[Android] get all recent photos in gallery and display them as thumbnails
Android loading crash
Unity 3d [2D simple app for android] problem with camera/resolution or unity remote]
UnityPlayer packaged as an Android library module?