Steps to reproduce:
- Open the attached project
- Open the Multiplayer Play Mode window
- Launch all Virtual Players
- Observe the Console window for all the opened Virtual Player windows
Actual results: "[MultiplayerPlaymode]: No Current Mode set, no window to save." warning is thrown for some of the Virtual Players
Expected results: No warnings or errors are thrown when launching Virtual Players in an empty Scene
Reproducible with versions: 1.5.0(6000.0.50f1), 1.6.3 (6000.0.50f1, 6000.0.79f1), 2.0.2(6000.3.20f1, 6000.5.5f1), 3.0.0 (6000.6.0b5, 6000.7.0a3)
Not reproducible with versions: 1.3.3(6000.0.50f1)
Reproduced on (OS): Ubuntu 24
Not reproduced on (OS): macOS 26.5.2
Notes:
- Full warning message:
- [MultiplayerPlaymode]: No Current Mode set, no window to save.
UnityEngine.Debug:LogWarning (object)
Unity.Multiplayer.PlayMode.Common.Runtime.MppmLog:Warning (object) (at ./Library/PackageCache/com.unity.multiplayer.playmode@dfb5b9f06add/Common/Runtime/Log/MppmLog.cs:12)
Unity.Multiplayer.Playmode.Workflow.Editor.ModeSwitcher:SaveCurrentWindow () (at ./Library/PackageCache/com.unity.multiplayer.playmode@dfb5b9f06add/Workflow/Editor/EditorModes/ModeSwitcher.cs:103)
Unity.Multiplayer.Playmode.Workflow.Editor.ClonedPlayerSystems/<>c:<Listen>b__14_2 (bool) (at ./Library/PackageCache/com.unity.multiplayer.playmode@dfb5b9f06add/Workflow/Editor/EditorSystems/ClonedPlayerSystems.cs:124)
UnityEditor.EditorApplication:Internal_FocusChanged (bool) (at /home/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:532)