Andrew
Andrew

Reputation: 11362

No abbility to debug Unity app on the android device / Debug and profiler cannot connect to the phone correctly

My problems is:

And in the same time:


What I have done:


Additional information:

What did I miss?

I think that Unity for some reason trying to connect to the phone by some incorrect way/adress/port after app install. But how to fix this? And why it's have no problems in install app process in this case?

Upvotes: 3

Views: 3066

Answers (2)

Kari
Kari

Reputation: 1370

This works for iPhone too!

Would like to add to the answer by Andrew, because it I couldn't realise the proper way to disable it entirely. Disable the firewall like this:

On Windows 10: Windows Defender Firewall with Advanced Security --> Overview --> Windows Defender Firewall Properties:

enter image description here

In there I had to set Firewall State to 'off' for both Domain Profile, Private Profile and Public Profile tabs. (perhaps not all were needed, but was short on time, so didn't experiment). Disabling all can expose your pc, making it vulnerable.

Also, double check that the wifi is enabled on the actual device (phone) and that you are connected to the same router as your computer. The USB wire between to PC wasn't enough!

Perhaps might be worth to launch your console in Administrator mode (I always do by default)

Upvotes: 0

Andrew
Andrew

Reputation: 11362

It's sounds like a joke. Problem was in Firewall.

Few days with this problem I have think that Firewall is disabled on my computer.

But it wasn't.

Upvotes: 2

Related Questions