[SOLVED] Unity Remote 5 not working

Hello,

I’ve been trying to get Unity Remote 5 working for 2 hours now and it still is not doing it’s job.

The main problem I currently have is gettind Android SDK working. All the links I found online are outdated and link to the full Android Studio program, and when I download 1 line only, SDK I get a complete renewed file with no single usable program in it.

So I just decided to go with the full Android Studio program, but now in Unity itself I simply can’t find any folder in Program Files > Android Studio which it accepts as an SDK folder.

Where am I going wrong and is anyone able to help me with this?

Thanks in advance,
Frisout

1 Like

Bump. I tried it on 2 differnt phones, both got the settings in developer mode correct. I also installed the usb driver in SDK manager, the only thing right now is that I can’t set the SDK folder in Unity

What do you see when you go to preferences → External tools

At the bottom should be where you direct it to find the folders…

Example: C:/Program Files (x86)/Android/android-sdk

Dumb question but you ran → SDKManager.exe and downloaded all the stuff you needed right / and switched to android platform in Unity?

2 Likes

Well if you can tell me where oh where I can find SDKManager.exe that may would help a lot already. I just installed this because all the old SDK links link to this page: https://developer.android.com/studio/install.html

And in the External Tools all I see is that it wants me to direct a folder, but it doesn’t seem to accept any folder in the program files/Android as a folder it can use. Also there is no android-sdk folder in my Android folder so I may just be missing out on a certain file that I need.

Thanks for the reply so far :slight_smile:

The SDKManager.exe is in the android sdk directory. Just look for where it installed androidstudio and you should see it in there somewhere.

I never used android studio and downloaded the standalone sdk but based on what I read you can’t do that anymore but there is a way but I did not try it and looks like its a batch file now.

Down at the bottom here is where you get just the SDK
=> 下载 Android Studio 和应用工具 - Android 开发者  |  Android Developers

Hm. well in the androidstudio folder there simply is no android sdk directory. I ran a whole search trough my entire pc yet it was not able to find it installed anywhere. Yet I’m certain that androidstudio is completly installed. What is up here?

Check here: C:\Users\YOURUSERNAME\appdata\local\android\sdk

It might be called sdkmanager.bat now.

Could also open up Android Studio and then select ‘Settings’ then => submenu: Tools → Android → SDK Manager
To check the location of where it installed it, then you just tell Unity where it is.

2 Likes

OOOH I totally forgot appdata was a thing :blush:
This totally fixed it and it is now working :smile:

Thank you so much for the help man!

2 Likes

Installing “ADB driver” fixed my problem. If anyone has that issue, I highly recommend install that driver:

http://adbdriver.com/downloads/

4 Likes

1 Install android SDK Android SDK Offline: Android SDK Tools/Manager
2 unzip the files and in the tools folder inside the main SDK folder,run android batch file.
3 SDK manager will show up,select android SDK tools,android build tools,android platform tools,google usb driver(under extras),SDK platform and sources under the latest android version,install these packages.
4 in the platform tools folder,open command prompt,type adb devices(make sure to connect your phone with usb debugging and developer options ‘on’)
If the list displayed is null then go to
'Install OEM usb drivers ’ in google
Download the usb driver of the os of your phone.
5 with your phone plugged in,go to device manager under portable or other devices,right click and select update driver and then browse to the Google usb driver folder(inside your sdk folder),click next.
6 , go through the command prompt again,if unauthorised is displayed then check your phone there must be a box ‘’'Allow this device…" Like that, tap OK
7 install JDK and inside unity edit>preference s>external tools browse to your sdk folder and jdk [version] folder inside JAVA folder. In my case it is inside program files,C:
8 in project settings select any Android device option in the unity remote device drop-down.
9 close unity,open unity remote 5 and open unity again.
10 it should work

6 Likes

I really dont understand why this is so difficult. Why cant unity just install what it needs to make it work.

8 Likes

Ok i figured out why it was not working i think. Everytime I plug in my phone it asks me how it wants to be connected. do I just want to charge it? do I want to do file transfer? and there are about 7 different choices. I have been choosing to allow the computer to see my phone as a file transfer device. I tried to deny the allowance of file transfer this time and chose charge only and it worked. I also followed these steps specifically

  • In Unity, leave enabled the option at “Unity Remote Editor Settings> Device> Any Android Device”

  • Close Unity.

  • Open Unity Remote App on your Android device.

  • Connect your device to your computer.

  • Chose Charge Only

  • Open Unity again.

18 Likes

Every time on new machine I’m trying to make unity remote works It’s kind a painful quest which exhaust my soul.

Thank you for you messages but it didn’t work for me. What I’ve done:

  1. Install jdk and sdk using Unity Hub
  2. Set android device to developer mode.
  3. Close Unity.
  4. Connect to computer with usb.
  5. Choose charge only.
  6. Run adb devices.
  7. Open Unity

And I did similar things about hundred times but nothing can helps me. As usually the problem will be in one ****ng toggle or something like that.
Does anyone have more suggestions how to setup unity remote? Or maybe where to look for any connection log?

3 Likes

I’m also stuck. The last time I made this work was 2 years ago and I can’t get it to run ever since…

3 Likes

Just wanted to mention this worked for me. Crazy
I didn’t install any special drivers or anything.

Did those exact steps.

I was having the same problem too until I stumbled upon this thread. I followed the exact steps.

Tried that, doesn’t work…

It is to not that I get the warning:
Set-up Android SDK path to make Android remote work

But android support is installed.

OK, there is actually no sd installed in my */Unity/2019.3.12f1/Editor/Data/PlaybackEngines/AndroidPlayer\SDK

Why is that? SHouldn’t it be installed with Unity?

Well, f*ck this. :confused:

There are actually install options under Android support in Unity install…

5852251--621661--Annotation 2020-05-15 100503.png