- Home /
Unity remote wont work
Hi, Im trying to get Unity remote to work with Unity but I have no luck doing so. Unity version - 4.1.5f1 Unity remote running on - Sony Xperi Play
What I have done so far: Downloaded the Android SDK 64bit version and put it in the C:-root.
In SDK I have installed the Google USB Drivers, but later on I installed everything.
In Unity I have set preferences to the path where the android SDK is, on the C/. drive.
On my Xperia play I have set it to debug mode, staw awake and allow mock locations.
I have also installed the PC Companion for sony phones.
I have Launched Unity, cennected my phone by usb, started unity remote, restarted unity and tried to play it from editor.
But it doesent work! I have made a apk build to transfer to my phone and test, that works but i cant play it directly from unity.
Im stuck, And have no clue what to try next, I cant even tell if unity seems to understand that my phone is plugged in, it can be found in device manager - experia play.
what should I do? // cheers Mathias
Well, does not work is not a detailed description. Have you checked that you USB driver works?
Try this in your system console:
adb devices
Is your device listed? If not your USB driver doesn't work
Answer by EpicEra · Jun 13, 2013 at 12:13 PM
the adb devices command did not work in my console, dont remember the error message i got. Hoewer I got it to work just now :) I unplugged and replugged my phone while I was in the unity remote app. After that everything started working just fine... Only took me about 24hours to make it work :P
So if anyone else have the same problem and have tested following step by step on unity remote try this: 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)Androidandroid-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
If this dont work do step 10 an onward. Step 10: restart computer Step 11: Connect your phone and launch the unity remote app Step 12: Launch unity and then connect your phone while the remote app is running Step 13: play game from unity editor.
cheers
Your answer
Follow this Question
Related Questions
my andriod is not connecting to the unity editor 0 Answers
How to correct the errors with my android build 0 Answers
Failed to re-package resources 1 Answer
SDKs for android/iOS and unity 0 Answers
FacebookSDK Closes Every Action 1 Answer