![]() ![]() ![]() Note: This step can take a while if then Unity project is big. Select the ‘AndroidPlayer (USB)’ item and Visual Studio goes in debug mode. Go to Debug -> Attach Unity debugger and a dialog with two debuggers should appear (one for Unit圓D editor, one for Android device): Now in Visual Studio open a script and put a breakpoint. Step 3] Set Visual Studio breakpoint and debug It’s important to run the application because otherwise the AndroidPlayer debugger will not show up in the next dialog. Now deploy and run your application (control-b). In Unit圓D, go to Android build settings and check ‘Development Build’ and ‘Script Debugging’: Step 2] Prepare debug version of Unit圓D app Check WIFI connection with to device with:.If connect fails take a look at $ adb connect 192.168.25.221 Link/ether 2c:fd:a1:8c:dc:f1 brd ff:ff:ff:ff:ff:ff Configuring Unity 5 for Android devices APK expansion files in Unity 5. Get the IP number of your Android phone with command ‘adb shell ip addr show wlan0’:Ģ4: wlan0: mtu 1500 qdisc mq state UP group default qlen 3000 1 Supporting APK expansion files (OBB) FMOD for Unity supports the use of OBB.This recipe is written for Unity 2017.4 and Visual Studio 2017, maybe it works also in other versions.ġ] Connect your Android phone to the same WIFI station as your development computerĢ] Connect your Android phone with USB cable to your development computer Here’s how to debug an Unit圓D Android application on a real device (not in Unit圓D editor) over WIFI in Visual Studio. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |