If you are like me, then you have discovered the powerful tool that is the Unity Remote app, only to realize that it doesn't work.
Don't worry, you are in the right place!
For some reason, the app itself doesn't explain all of the steps that you must follow in order to use the app. So without further delay, let's get into it.
Android Unity Remote Instructions:
Step 1. Download Unity Remote 5
Step 2. Enable development options on your Android device
-Go to your settings
-Go to About (tablet/phone)
-Tap build number 8 times and your phone will tell you that you are a developer
Step 3. Go back to settings and you will see a new option for developer options
Step 4. Tap developer options and turn them on. Should be an option near the top.
Step 5. Turn on the following options: USB debugging, Allow Mock Locations, Stay Awake
Step 6. Plug your device into your computer with a USB 2.0 cable (3.0 doesn't work).
-Make sure your device driver is correctly installed and recognized by PC
(You can check this by going to start options, devices.)
Step 7. If driver is not properly installed, then search your device's website to download
adb (Android Debugger Bridge) driver. Search for USB adb in Google with device name.
Step 8. Download Android SDK tools here.
Step 9. Follow the installation and pay attention to where your files will be located.
Step 10. Rename your SDK tools folder something like oldTools.
Step 11. Download an older version of the tools folder here. You will need this older version, because there is a bug in the newer version that doesn't work.
Step 12. Install this file inside of your SDK root folder that contains the oldFolder.
Step 13. Delete your oldTools folder, so that you only have the new Tools folder.
Step 14. Inside of Unity go to edit/preferences/external tools and then tell Unity where to find your SDK root folder.
Step 15. Download Java JDK files here. (Remember where these files are located)
Step 16. Repeat step 10 and then tell Unity where to find your JDK root folder.
Step 17. Inside of Unity go to edit/project settings/editor and set device to any Android device.
Step 18. Go to File/Build Settings and make sure you have them set to Android.
Step 19. Now you can plug your device into your computer, while running the Unity Remote App on your phone.
Step 20. Click play inside of the editor and your device should mimic the play screen inside of the editor.
Side Notes:
You may need to close Unity and have phone plugged in with app running before you open Unity.
May have to switch device type to none and back to any android device a couple times.
The app is a helpful tool, but it is still buggy and will lag a little. This doesn't mean your game is lagging, so just keep that in mind.
If you are using Android Marshmallow, then you will not be able to allow mock locations. This might make the Unity Remote App unusable, but you can still build and deploy unity mobile games to your device.
No comments:
Post a Comment