Steps to reproduce:
- Create a new 3D URP project
- Install "com.unity.netcode" package from the Package Manager
- Go to Window > Multiplayer > Play Mode Tools
- Enter Play mode
- Click on the "Log Relevancy" button
- Observe the Console
Actual results: "GUI Error: Invalid GUILayout state in view" and "NullReferenceException" errors are thrown
Expected results: No errors are thrown and the button provides its function
Reproducible with versions: 6000.0.0f1, 6000.0.83f1, 6000.3.23f1, 6000.6.2f1, 6000.7.0b1
Tested on (OS): Windows 11
Errors:
GUI Error: Invalid GUILayout state in MultiplayerPlayModeWindow view. Verify that all layout Begin/End calls match
NullReferenceException: Object reference not set to an instance of an object
Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle.CheckWriteAndThrow (Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle)
Notes:
- If additional setup is needed for the button to work, it should be mentioned in the Console instead of throwing an error