Netcode 1.1.0-pre.3 unable to turn on Network Emulation in PlayMode Tools

Hi,

After updating to Netcode 1.1.0-pre.3, I am no longer able to turn on Network Emulation in the PlayMode Tools (it was off at time of upgrade from 1.1 exp packages). The toggle does not respond when clicked.

Thanks.

1 Like

Same here

This is odd. Has been fixed already but it is going to be available in another release. For the moment, as workaround you can remove the following lines from MultplayePlayModePreferences.cs

Line 65:

#pragma warning disable CS0618
                if (value == SimulatorView.Disabled)
#pragma warning restore CS0618
                {
                    Debug.Log("Disabling simulator");
                    SimulatorEnabled = false;
                    return;
                }

Another workaround is to clear the EditorPref via Registry Editor (regedit) (or Mac equivalent). For Windows machines:

  • Close Unity Editor.
  • Via regedit.exe, set HKCU\SOFTWARE\Unity Technologies\Unity Editor 5.x\MultiplayerPlayMode_[projectNameHere]_SimulatorView_[h#########] to 2 (Decimal), and save.
  • Re-open Unity. It’s now toggleable, although the Ping vs Per-Packet view dropdown does not work.

Apologies for the disruption. Fixes are needed for 1.1 and 1.2, which I’ll do now.

1 Like

Just FYI, got this in 1.2, but this workaround fixed it. Thanks.

1 Like