clicking sprite field selection, null ref errors (2017.3.0b2)

clicking sprite selector spams errors (didnt see it mentioned in known list)

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.ObjectSelector.Show (UnityEngine.Object obj, System.Type requiredType, UnityEditor.SerializedProperty property, Boolean allowSceneObjects, System.Collections.Generic.List`1 allowedInstanceIDs) (at C:/buildslave/unity/build/Editor/Mono/ObjectSelector.cs:291)
UnityEditor.ObjectSelector.Show (UnityEngine.Object obj, System.Type requiredType, UnityEditor.SerializedProperty property, Boolean allowSceneObjects) (at C:/buildslave/unity/build/Editor/Mono/ObjectSelector.cs:244)
UnityEditor.EditorGUI.DoObjectField (Rect position, Rect dropRect, Int32 id, UnityEngine.Object obj, System.Type objType, UnityEditor.SerializedProperty property, UnityEditor.ObjectFieldValidator validator, Boolean allowSceneObjects, UnityEngine.GUIStyle style) (at C:/buildslave/unity/build/Editor/Mono/GUI/ObjectField.cs:165)
UnityEditor.EditorGUI.ObjectFieldInternal (Rect position, UnityEditor.SerializedProperty property, System.Type objType, UnityEngine.GUIContent label, UnityEngine.GUIStyle style) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:3226)
UnityEditor.EditorGUI.DefaultPropertyField (Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:5768)
UnityEditor.PropertyHandler.OnGUI (Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, Boolean includeChildren) (at C:/buildslave/unity/build/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:152)
UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, Boolean includeChildren, UnityEngine.GUILayoutOption[ ] options) (at C:/buildslave/unity/build/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:203)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, Boolean includeChildren, UnityEngine.GUILayoutOption[ ] options) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:8104)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, UnityEngine.GUILayoutOption[ ] options) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:8092)
UnityEditor.SpriteRendererEditor.OnInspectorGUI () (at C:/buildslave/unity/build/Editor/Mono/Inspector/SpriteRendererEditor.cs:83)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor[ ] editors, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1243)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Hi mgear,
We couldn’t reproduce this in 2017.2.0f2 and 2017.3.0b3. Could you please see if this keeps happening for you, once 2017.3.0b3 releases?

I am getting this on 2017.3.0b3 when trying to pick a mesh inside a mesh collider

I am getting this on 2017.3.0b2 as well

oh, it happens with all of those asset selectors… mesh, rendertexture, and everything else.

also getting this message at start,
“The editor layout could not be fully loaded, this can happen when the layout contains EditorWindows not available in this project UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)”

for reset layout, got this also,
Failed to destroy editor windows: #1
ObjectSelector, UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)

Can you reproduce this issue in a new/empty project? Just to rule out it’s not caused by anything specific in your project, which would explain why UT isn’t able to reproduce.

If it turns out to be project specific though, you should submit a bug-report and attach the project where the issue reproduces with.

yeah, tested on another project and empty project… ill post bug if still in b3

*tested on another pc also, same problem

no errors in 2017.3.0b3