I’m using Unity 2020.3, every time I started a new project, I got this warning message.
"Unable to use UDP port 56326 for VS/Unity messaging. "
I’m not making any change to Windows 10 default firewall setup, I don’t get this warning in Unity 2019.4.
I’m wondering how this issue may impact the use of Editor, and how can I solve it?
Just got this - but possibly a Microsoft issue? Mine is port 56380 though
message is from VS package - code: (Microsoft.Unity.VisualStudio.Editor.) VisualStudioIntegration
I started seeing this error recently and discovered that it was caused by the “Bluetooth Device (Personal Area Network)” device. After disabling it in the Device Manager, the error went away.
I did this and some how it fixed, but beware your whole installed package will be uninstall just remember which package you have installed then reinstall it back
This is basically a Microsoft issue, you can see where it occurs in their plugin code. They told me to check what was using the port - answer = nothing apparently!
Seems like poor code which randomly chooses a port and does not look for an alternative when fails.
How we can get that from Microsoft is beyond me!!
Somehow, the issue was related to additional adapters in my network settings.
I have two Hyper-V adapters for Docker (Default Switch and WSL) in Network Connections.
So, I disabled them, then relaunched my Unity project. Windows immediately displayed a Security Alert pop-up, and I pressed “Allow access.” I re-enabled my Hyper-V connections, and now everything is working fine.
(I’m using Windows 10 and Unity 6, but the problem occurred on all previous 2022 versions as well.)