You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When multi-selecting objects in the editor and editing a list property in them, the following crash happens:
NullReferenceException:Objectreference not set to an instance of an objectMyBox.EditorTools.MySerializedProperty.AsStringValue(UnityEditor.SerializedPropertyproperty)(atLibrary/PackageCache/com.domybest.mybox@701527564a/Extensions/EditorExtensions/MySerializedProperty.cs:116)
MyBox.Internal.ConditionalUtility.IsConditionMatch(UnityEditor.SerializedPropertyproperty,System.Booleaninverse,System.String[]compareAgainst)(atLibrary/PackageCache/com.domybest.mybox@701527564a/Tools/Internal/ConditionalUtility.cs:61)
MyBox.Internal.ConditionalUtility.IsPropertyConditionMatch(UnityEditor.SerializedPropertyproperty,MyBox.Internal.ConditionalDatacondition)(atLibrary/PackageCache/com.domybest.mybox@701527564a/Tools/Internal/ConditionalUtility.cs:39)
MyBox.Internal.ConditionalFieldAttributeDrawer.GetPropertyHeight(UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel)(atLibrary/PackageCache/com.domybest.mybox@701527564a/Attributes/ConditionalFieldAttribute.cs:50)
UnityEditor.PropertyDrawer.GetPropertyHeightSafe(UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel)(at/Users/bokken/build/output/unity/unity/Editor/Mono/ScriptAttributeGUI/PropertyDrawer.cs:43)
UnityEditor.PropertyHandler.GetHeight(UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel,System.BooleanincludeChildren)(at/Users/bokken/build/output/unity/unity/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:312)
UnityEditor.PropertyHandler.GetHeight(UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel,System.BooleanincludeChildren)(at/Users/bokken/build/output/unity/unity/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:351)
UnityEditorInternal.ReorderableList.TryOverrideElementHeightWithPropertyDrawer(UnityEditor.SerializedPropertyproperty,System.Single&height)(at/Users/bokken/build/output/unity/unity/Editor/Mono/GUI/ReorderableList.cs:550)
UnityEditorInternal.ReorderableList.CacheIfNeeded()(at/Users/bokken/build/output/unity/unity/Editor/Mono/GUI/ReorderableList.cs:581)
UnityEditorInternal.ReorderableList.GetListElementHeight()(at/Users/bokken/build/output/unity/unity/Editor/Mono/GUI/ReorderableList.cs:791)
UnityEditorInternal.ReorderableList.DoList(UnityEngine.Rectrect,UnityEngine.RectvisibleRect)(at/Users/bokken/build/output/unity/unity/Editor/Mono/GUI/ReorderableList.cs:763)
UnityEditorInternal.ReorderableListWrapper.DrawChildren(UnityEngine.RectlistRect,UnityEngine.RectheaderRect,UnityEngine.RectsizeRect,UnityEngine.RectvisibleRect,UnityEngine.EventTypepreviousEvent)(at/Users/bokken/build/output/unity/unity/Editor/Mono/Inspector/ReorderableListWrapper.cs:210)
UnityEditorInternal.ReorderableListWrapper.Draw(UnityEngine.GUIContentlabel,UnityEngine.Rectr,UnityEngine.RectvisibleArea,System.Stringtooltip,System.BooleanincludeChildren)(at/Users/bokken/build/output/unity/unity/Editor/Mono/Inspector/ReorderableListWrapper.cs:164)
UnityEditor.PropertyHandler.OnGUI(UnityEngine.Rectposition,UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel,System.BooleanincludeChildren,UnityEngine.RectvisibleArea)(at/Users/bokken/build/output/unity/unity/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:222)
UnityEditor.PropertyHandler.OnGUI(UnityEngine.Rectposition,UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel,System.BooleanincludeChildren)(at/Users/bokken/build/output/unity/unity/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:141)
UnityEditor.EditorGUI.PropertyFieldInternal(UnityEngine.Rectposition,UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel,System.BooleanincludeChildren)(at/Users/bokken/build/output/unity/unity/Editor/Mono/EditorGUI.cs:7329)
UnityEditor.EditorGUI.PropertyField(UnityEngine.Rectposition,UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel,System.BooleanincludeChildren)(at/Users/bokken/build/output/unity/unity/Editor/Mono/EditorGUI.cs:8812)
MyBox.Internal.CollectionWrapperDrawer.OnGUI(UnityEngine.Rectposition,UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel)(atLibrary/PackageCache/com.domybest.mybox@701527564a/Types/CollectionWrapper.cs:40)
UnityEditor.PropertyDrawer.OnGUISafe(UnityEngine.Rectposition,UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel)(at/Users/bokken/build/output/unity/unity/Editor/Mono/ScriptAttributeGUI/PropertyDrawer.cs:23)
UnityEditor.PropertyHandler.OnGUI(UnityEngine.Rectposition,UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel,System.BooleanincludeChildren,UnityEngine.RectvisibleArea)(at/Users/bokken/build/output/unity/unity/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:180)
UnityEditor.PropertyHandler.OnGUI(UnityEngine.Rectposition,UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel,System.BooleanincludeChildren)(at/Users/bokken/build/output/unity/unity/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:141)
UnityEditor.PropertyHandler.OnGUI(UnityEngine.Rectposition,UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel,System.BooleanincludeChildren,UnityEngine.RectvisibleArea)(at/Users/bokken/build/output/unity/unity/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:264)
UnityEditor.PropertyHandler.OnGUI(UnityEngine.Rectposition,UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel,System.BooleanincludeChildren)(at/Users/bokken/build/output/unity/unity/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:141)
UnityEditor.EditorGUI.PropertyFieldInternal(UnityEngine.Rectposition,UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel,System.BooleanincludeChildren)(at/Users/bokken/build/output/unity/unity/Editor/Mono/EditorGUI.cs:7329)
UnityEditor.EditorGUI.PropertyField(UnityEngine.Rectposition,UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel,System.BooleanincludeChildren)(at/Users/bokken/build/output/unity/unity/Editor/Mono/EditorGUI.cs:8812)
MyBox.Internal.ConditionalFieldAttributeDrawer.OnGUI(UnityEngine.Rectposition,UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel)(atLibrary/PackageCache/com.domybest.mybox@701527564a/Attributes/ConditionalFieldAttribute.cs:61)
UnityEditor.PropertyDrawer.OnGUISafe(UnityEngine.Rectposition,UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel)(at/Users/bokken/build/output/unity/unity/Editor/Mono/ScriptAttributeGUI/PropertyDrawer.cs:23)
UnityEditor.PropertyHandler.OnGUI(UnityEngine.Rectposition,UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel,System.BooleanincludeChildren,UnityEngine.RectvisibleArea)(at/Users/bokken/build/output/unity/unity/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:180)
UnityEditor.PropertyHandler.OnGUI(UnityEngine.Rectposition,UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel,System.BooleanincludeChildren)(at/Users/bokken/build/output/unity/unity/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:141)
UnityEditor.PropertyHandler.OnGUILayout(UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel,System.BooleanincludeChildren,UnityEngine.GUILayoutOption[]options)(at/Users/bokken/build/output/unity/unity/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:294)
UnityEditor.EditorGUILayout.PropertyField(UnityEditor.SerializedPropertyproperty,UnityEngine.GUIContentlabel,System.BooleanincludeChildren,UnityEngine.GUILayoutOption[]options)(at/Users/bokken/build/output/unity/unity/Editor/Mono/EditorGUI.cs:11030)
UnityEditor.EditorGUILayout.PropertyField(UnityEditor.SerializedPropertyproperty,System.BooleanincludeChildren,UnityEngine.GUILayoutOption[]options)(at/Users/bokken/build/output/unity/unity/Editor/Mono/EditorGUI.cs:11024)
MyBox.Internal.FoldoutAttributeHandler.Body()(atLibrary/PackageCache/com.domybest.mybox@701527564a/Attributes/FoldoutAttribute.cs:105)
MyBox.Internal.FoldoutAttributeHandler.OnInspectorGUI()(atLibrary/PackageCache/com.domybest.mybox@701527564a/Attributes/FoldoutAttribute.cs:75)
MyBox.Internal.UnityObjectEditor.OnInspectorGUI()(atLibrary/PackageCache/com.domybest.mybox@701527564a/Tools/Internal/UnityObjectEditor.cs:34)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass71_0.<CreateIMGUIInspectorFromEditor>b__0()(at/Users/bokken/build/output/unity/unity/Editor/Mono/UIElements/Inspector/InspectorElement.cs:685)
UnityEngine.GUIUtility:ProcessEvent(Int32,IntPtr,Boolean&)(at/Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)
I had several objects selected that had a list, set all of the list's sizes to 0 (this worked), and then tried to set them to 1 and this crash happens.
The text was updated successfully, but these errors were encountered:
When multi-selecting objects in the editor and editing a list property in them, the following crash happens:
I had several objects selected that had a list, set all of the list's sizes to 0 (this worked), and then tried to set them to 1 and this crash happens.
The text was updated successfully, but these errors were encountered: