Android device not in the list on the Attach to Unity button in Visual Studio 2026

22 hours ago 1
ARTICLE AD BOX

I am trying to debug a Unity game on an Android device by following the instructions here.

When I click either Patch And Run or Build And Run on the Build Profiles screen in Unity, the game launches on my device but when I try to click Attach to Unity in Visual Studio 2026 the device is not listed as a Unity instance to attach to. Only the instance running on my Windows laptop is shown in the list. If I click Attach to Unity without choosing an instance, I think it is attaching to the instance on my laptop and my breakpoints never hit.

Version Info

Unity: 6000.2.8f1

Visual Studio Community: 18.3.1 (Game Development with Unity workload installed)

Android: 16.0 ("Baklava"), API Level 36.1

Unity Build Settings

Development Build: Yes

Script Debugging: Yes

Wait for Managed Debugger: Yes

C++ Compiler Configuration: Development

Read Entire Article