Steps to reproduce:
- Create new project
- Install Multiplayer Play Mode package from the Package Manager (com.unity.multiplayer.playmode)
- In the Toolbar, click on the "Default" dropdown next to Play mode icons
- Click "Configure Play Mode Scenarios"
- Click "+" to create new scenario
- Click "+" under "Additional Editor Instances" to add Player 2
- Click again on the "Default" dropdown and select "Activate Play mode Window"
- Switch to the newly created scenario
- Click "Activate" under Player 2
- Observe the Console in Player 2 Editor instance
Actual results: "Lifecycle ERROR : Exception while executing scope transition handler Unity.Multiplayer.PlayMode.Editor.EditorModesUtility.InitializeOnLoad(): System.NullReferenceException ..." error is thrown
Expected results: No errors are present in Player 2 instance
Reproducible with versions: 6000.7.0a5
Not reproducible with versions: 6000.3.21f1, 6000.5.8f1, 6000.6.0b9, 6000.7.0a4
Tested on (OS): Windows 11, macOS 26.5
Notes:
- Before the Lifecycle ERROR in this ticket, other warnings and errors were present (reported in [Internal link]). But the error reported in this ticket only appeared in 6000.7.0a5