How to easily debug a Unity application?


#1

Hello everyone!

I have a short question.

How do I easily debug my Unity game? I am trying to set up Unity Remote but that doesn’t seem to work. Is the only solution to build an APK and then try it out on my phone, without any actual debugger support? If so, that is really unfortunate as that is a very time consuming process.

If anyone knows how to easily debug a unity game, please tell me!


#2

Enable “USB debugging” on your device and connect the device to your development machine via USB cable. Ensure your device is on the same subnet mask and gateway as your development machine. Also, make sure there are no other active network connections on the device, i.e. disable data access over mobile/cellular network.