How to reproduce:
1. Open the “scene_repro.zip“ project
2. Write “new“ in the search bar in the Hierarchy window
3. Clear the search bar in the Hierarchy window and observe the Scene view
Expected result: The Scene view is normal and there are no errors in the Console
Actual result: The Scene view is white and there is an error in the Console
Reproducible with: 2023.1.0b21, 2023.1.4f1
Not reproducible with: 2021.3.28f1, 2022.3.5f1, 2023.1.0b20, 2023.2.0b1
Fixed in: 2023.1.5f1
Reproducible on: Windows 10, Windows 11
Errors:
ArgumentNullException: Value cannot be null.
Parameter name: value
UnityEngine.Object+MarshalledUnityObject.ThrowException[TException] (System.String message) (at <1543847fd92d461d999f9d8198ea8524>:0)
UnityEngine.MaterialPropertyBlock.SetTextureImpl (System.Int32 name, UnityEngine.Texture value) (at <1543847fd92d461d999f9d8198ea8524>:0)
UnityEngine.MaterialPropertyBlock.SetTexture (System.Int32 nameID, UnityEngine.Texture value) (at <1543847fd92d461d999f9d8198ea8524>:0)
Assertion failed
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)