Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Cannot Manually Connect Profiler to Android Device

Discussion in 'Editor & General Support' started by AhSai, Oct 21, 2022.

  1. AhSai


    Jun 25, 2017
    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.
  2. shivaprasad_unity


    Mar 30, 2021
    I've been facing same issue since forever, they keep responding with same steps given in documentation but it won't work.
  3. MartinTilo


    Unity Technologies

    Aug 16, 2017
    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.
  4. G_Wojo


    Unity Technologies

    Feb 8, 2017
    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.
    MartinTilo likes this.