hello, so I am currently building an android game, I installed the Android SDK and JDK files using Unity Hub and I want to try the game on my phone and downloaded Unity Remote 5, but when I try to play it in Unity, it just gives me this error;
And I just dont know how to fix this problem, anyone have any ideas?
3 Likes
Having the same problem here (since I installed Unity 2019.4.17f1 and 18f1 didn't fixed it)... Any progress or fix found? FYI, this error is not affecting my builds at all. And my game is running normally in the editor too, just remove "ERROR PAUSE" from your console and the game will run normally.
This is for who is still looking for a real solution.
Choose “INPUT MIDI” (Use your phone to communicate with music equipment) option when you connect your phone with USB cable to PC. Your phone will ask you for “RSA key allow” and you should press allow.
It will work if the below steps are correct;
Check this path for if there is SDK, NDK and openJDK folders
A year later, but… One thing I’ve found is that, at least on both of my LG phones, you need to make sure that the USB mode is set to ‘charging’ and debugging. And when/if it asks you for permission to access or share data, you have to deny. Counter-intuitive, to me at least. I think that if you allow it to share, or select almost anything other than charging, it views it as a media device and won’t allow installations and such.
I’ve had the same issue trying to use Android Studio. It will clearly show the device in Device Manager, show it as active, available, and ready to go in either program, and then… just not.
I'm not sure which of the following may help you, as I tried a bunch of things before I got the error message to disappear once and for all.
Under the “Preferences / External Tools” menu, if you have overwritten the Android SDK Tools path (or any other path on this menu) for a previous Unity version, try reverting back to the default path assuming it’s installed in that location.
Assuming the paths are all correct, re-open Unity on your PC and connect your Android device with Unity Remote open.
(Follow the usual checks/steps that you had to perform to get Unity Remote working initially)
I noticed this error can be toggled on and off by going to the “Project Settings / Editor” menu and setting the “Unity Remote / Device” drop down to “None”. However this will obviously prevent you from working with your Android device so it’s not a solution.
To solve this issue, I suspect you need to “refresh” a cached reference to your Android device (that you’ve used in the past for this project with Unity Remote). Just my guess though.
Guys, I found a solution to the problem, this is due to the lack of a USB driver on the phone, I searched for a long time which ones to install correctly, but in the end I came to PdaNet Download PdaNet+ / by installing the version for a computer with a USB phone connected, I had the computer authorized using the phone, and it works! Hurray! Unity Remote now connects without problems.
I ran into this problem and none of the proposed solutions worked.
I have “Android Developer Mode” and “USB Debugging” turned on and everything looked right, but when I pressed play I got the error.
SOLUTION: Full Reinstall:
I uninstalled Android Studio just to be sure (I don’t know if this was relevant at all).
I then uninstalled all Unity editors and rebooted.
I believe I came from Unity 6000.1.09f1.
In any case I fresh installed Unity 6000.1.10f1 along with Android Build Support (I also have Web Build Support but that is probably unimportant).
After this full fresh install, Unity Remote just worked again.
Hope this helps.
NOTE TO BEGINNERS:
Remember that you “Build Target” (Build Profile) has to be Android.
If it targets say Windows, nothing will simulate on Android Remote.
This caught me off guard back in the day
Having the same problem here (since I installed Unity 2019.4.17f1 and 18f1 didn't fixed it)... Any progress or fix found? FYI, this error is not affecting my builds at all. And my game is running normally in the editor too, just remove "ERROR PAUSE" from your console and the game will run normally.
– GuaxinimDantasIDK, but this error is affecting mine, I can't run the game in my Unity Remote
– Neowb