Hi ! The following error is being spammed in my console whenever a specific EditorWindows is opened and I am wondering where that could come from.
For the sake of debugging, i made my window pretty simple : it opens itself and its visual tree is empty. Ohter editor windows work fine but this one decided to spam for some reason. You can find the opening method code below, which is the only code my class contains if we ignore the empty CreateGUI.
[UnityEditor.MenuItem("Debug/Windows/Serialization Previewer")]
public static void OpenWindow()
{
SerializationPreviewWindow window = UnityEditor.EditorWindow.GetWindow<SerializationPreviewWindow>();
window.titleContent = new UnityEngine.GUIContent("Serialization Previewer");
window.minSize = new UnityEngine.Vector2(450, 200);
window.maxSize = new UnityEngine.Vector2(1920, 1080);
}