Socket: unable to join multicast group

I’m having this issue.

You’re saying I should just turn on Airplane Mode on my Windows 10, open Unity 2021.3.2f1, wait, then turn off Airplane Mode? Going to try this out.

UPDATE: There are some extra steps for this in order to fix my multicast group issue:

  • On Windows 10, turn on Airplane Mode.

  • Open Windows Search by pressing WinKey.

  • Search for “Firewall & Network Protection” and open it up.

  • Click on “Advanced Settings” to open up “Windows Defender Firewall with Advanced Security”.

  • Click on “Inbound Rules”

  • Search for all things “Unity” (see below for example)

  • Unity 2020.3.20f1 (if you have it)

  • Unity 2021.3.2f1 (if you have it)

  • Unity Hub

  • Make sure to enable all inbound rules for all things “Unity”.

  • If you see a “Cancel” or “Deny” symbol, it means your rule is blocking Unity connections. Enable them, and set it to “Allow Connection”

  • In the same dialog, click on “Advanced” tab.

  • Set the configurations for all things “Unity” to the same settings, as follows:

  • Profiles must be enabled for Domain, Private, and Public.

  • Edge Traversal must be set to “Deferred to Application”.

  • Click Apply.

  • Repeat for all things “Unity” other inbound rules.

  • Restart Unity while you are in Airplane Mode.

  • Verify you didn’t get any “multicast group” error in the Console in Unity Editor.

  • Turn off Airplane Mode.

  • In Unity editor, navigate to “Assets” → “Reimport All”.

  • Wait for Unity to restart itself.

  • Confirm you no longer have “Unable to join multicast group” error.

I would not bother. I actually did this, and it doesn’t seem to fix the player connection multicast group. Feel free if you want to repeat what I did:

  • In Unity Editor, go to Help → Manage License.
  • In Unity Hub, click on Add button.
  • Follow the instructions on “Creating a license”, which are any of those options other than for “Pro” and “Premium” tiers.
  • Follow the instructions on activating a new personal license.
  • Update your personal license and hit Refresh to validate your personal license.
  • Close Unity Hub.
  • Back in Unity, go to Assets → Reimport All. This will restart Unity Editor.
  • Observe how you’re still seeing the same multicast group error.

The [solution is already posted]( Socket: unable to join multicast group page-2#post-7986387), awaiting Unity’s intervention (who is continuing to pretend this issue doesn’t exist, despite the critical, breaking nature of it).

Using Unity 2020.3.31f1 and I got this error all of the sudden when I opened my project that I did no new changes in it.
Restarted the editor, connection is up but still get this error.

I wonder how long it will be until an AAA pub runs into this issue and yells at Unity directly, asking why they didn’t fix it when the solution was posted ages ago.

In case this helps someone: had the same issue, it was due to a recent installation of the Windows Sandbox feature (Win 10). Removing the feature fixed the issue.

1 Like

That’s an amazing feature: I wouldn’t call this a fix, but a workaround. You shouldn’t have to do this. However, it’s still wonderful you found a potential conflict with some kind of workaround!

1 Like

Have the same problem, it just started appearing today. Unity 2022.3.33f1

just happened for me on unity 6000.0.32f1 - first time
i refreshed liscence in hub - hitting play after this did not cause any errors.
relaunching unity did not cause any errors