https://docs.unity3d.com/Manual/AttachingMonoDevelopDebuggerToAnAndroidDevice.html
- desktop has to be on the same WiFi as device
- might have to switch off firewall
- connect device via USB
cd %LOCALAPPDATA%\Android\Sdk\platform-toolsadb tcpip 5555should outputrestarting in TCP mode port: 5555- if not dis-/reconnect device
- find device IP
adb shell ifconfig wlan0- or
Settings -> System -> About phone -> Status
adb connect $DEVICE_IPadb devices- should show
List of devices attached $DEVICE_IP:5555 device`- build and run
Development BuildcheckedScript Debuggingchecked
- Visual Studio:
Debug -> Attach Unity Debugger- select device