7 Errors logs when selecting an Asset Table Collection

Hi, I’ve created an empty project (2021.3.1f1), export the package (1.0.5) and create one Asset Table Collection, everything works fine, but when I select the table on the Project window, it prompts on my console the following errors:

Retrieving array element that was out of bounds
UnityEditor.Localization.UI.ReorderableListExtended:GetElementHeight (int)
UnityEditorInternal.ReorderableList:CacheIfNeeded ()
UnityEditorInternal.ReorderableList:GetListElementHeight ()
UnityEditorInternal.ReorderableList:smile:oLayoutList ()
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PropertyHandler.GetHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.EditorGUI.GetPropertyHeightInternal (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.EditorGUI.GetPropertyHeight (UnityEditor.SerializedProperty property, System.Boolean includeChildren) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.Localization.UI.ReorderableListExtended.GetElementHeight (System.Int32 idx) (at Library/PackageCache/com.unity.localization@1.0.5/Editor/UI/Utility/ReorderableListExtended.cs:94)
UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditorInternal.ReorderableList.GetListElementHeight () (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditorInternal.ReorderableList.DoLayoutList () (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.Localization.UI.LocalizationTableCollectionEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.0.5/Editor/UI/Tables/LocalizationTableCollectionEditor.cs:211)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <78eb217972d24c1381fc135c94c21a2c>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Retrieving array element that was out of bounds
UnityEditor.Localization.UI.ReorderableListExtended:GetElementHeight (int)
UnityEditorInternal.ReorderableList:CacheIfNeeded ()
UnityEditorInternal.ReorderableList:GetListElementHeight ()
UnityEditorInternal.ReorderableList:GetListElementHeight ()
UnityEditorInternal.ReorderableList:smile:oLayoutList ()
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PropertyHandler.GetHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.EditorGUI.GetPropertyHeightInternal (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.EditorGUI.GetPropertyHeight (UnityEditor.SerializedProperty property, System.Boolean includeChildren) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.Localization.UI.ReorderableListExtended.GetElementHeight (System.Int32 idx) (at Library/PackageCache/com.unity.localization@1.0.5/Editor/UI/Utility/ReorderableListExtended.cs:94)
UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditorInternal.ReorderableList.GetListElementHeight () (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditorInternal.ReorderableList.GetListElementHeight () (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditorInternal.ReorderableList.DoLayoutList () (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.Localization.UI.LocalizationTableCollectionEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.0.5/Editor/UI/Tables/LocalizationTableCollectionEditor.cs:211)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <78eb217972d24c1381fc135c94c21a2c>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
ArgumentException: Getting control 1's position in a group with only 1 controls when doing repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at <5a00c575c9464227a3227baf016d387b>:0)
UnityEngine.GUILayoutUtility.DoGetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <5a00c575c9464227a3227baf016d387b>:0)
UnityEngine.GUILayoutUtility.GetRect (System.Single width, System.Single height, UnityEngine.GUILayoutOption[] options) (at <5a00c575c9464227a3227baf016d387b>:0)
UnityEditorInternal.ReorderableList.DoLayoutList () (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.Localization.UI.LocalizationTableCollectionEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.0.5/Editor/UI/Tables/LocalizationTableCollectionEditor.cs:211)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <78eb217972d24c1381fc135c94c21a2c>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Retrieving array element that was out of bounds
UnityEditor.Localization.UI.ReorderableListExtended:GetElementHeight (int)
UnityEditorInternal.ReorderableList:CacheIfNeeded ()
UnityEditorInternal.ReorderableList:smile:oListElements (UnityEngine.Rect,UnityEngine.Rect)
UnityEditorInternal.ReorderableList:smile:oLayoutList ()
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PropertyHandler.GetHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.EditorGUI.GetPropertyHeightInternal (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.EditorGUI.GetPropertyHeight (UnityEditor.SerializedProperty property, System.Boolean includeChildren) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.Localization.UI.ReorderableListExtended.GetElementHeight (System.Int32 idx) (at Library/PackageCache/com.unity.localization@1.0.5/Editor/UI/Utility/ReorderableListExtended.cs:94)
UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditorInternal.ReorderableList.DoListElements (UnityEngine.Rect listRect, UnityEngine.Rect visibleRect) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditorInternal.ReorderableList.DoLayoutList () (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.Localization.UI.LocalizationTableCollectionEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.0.5/Editor/UI/Tables/LocalizationTableCollectionEditor.cs:211)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <78eb217972d24c1381fc135c94c21a2c>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Again, everything works, but seems something to report ^^’

This is a bug in Unity. Upgrading to the latest 2021.3 patch will get rid of the error.

1 Like

Wasn’t aware of that :S thanks @karl_jones !

Also worth updating to localization package 1.3.2 which is the latest version. You may need to change the version in the manifest.json file in the Packages folder if it doesn’t show up in the package manager.

1 Like