While I am able to user Profiler on my android device by checking the “Autoconnect Profiler” and click “Build And Run” button, if I unplug my device and reconnect it again, the Profiler is not able to connect to my device again, and I have to redo the whole build process again which can take hours to complete.
The “Android Logcat” works fine even after the reconnection, but I can’t reconnect it to the Profiler even if I type in the IP shown in my phone’s setting.
I’ve been facing same issue since forever, they keep responding with same steps given in documentation but it won’t work.
My colleague @G_Wojo has been busy working on resolving connection issues with Android and Auto-Connect. Manual connection might work better if Auto-Connect is off for versions that do not yet have his fixes and improvements backported. I’m not exactly sure of the status of the backports right now but using the latest patch version of whatever major version (year) track you’re on might help.
As Martin mentioned we are almost there, with landing big set of improvements for dev connectivity for 2021 LTS and 2020 LTS. After that we will be backporting a few smaller fixes which addressing some issues related directly to Android platform.
In meantime could you share:
- Which version of unity you are using?
- What operating system ?
- Also are you use WiFi on the phone or just USB cable?
If this is usb could you make empty project and verify that issue is still present there (Done to not waste your time on hours of building whole project). If issue is still present could you compare result of console calls:
adb reverse --list
adb forward --list
I’m interested if there is change in the before and after reconnecting. If there would be try manually re-add them and check if this will help.