Constantly Getting Multiple Error Messages In Console

Every time I start the game in the editor or stop it, those errors write in console. I just added Localization 1.2.1 package via “add package from git URL…” from Package Manager. I am using Unity 2020.3.31f1. I can use the components in editor and it works well in game but i am getting errors. How can I get rid of them?

Error messages in order from top to bottom:

Retrieving array element that was out of bounds
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer/<>c__DisplayClass3_0:<CreatePropertyData>b__1 (int)
UnityEditorInternal.ReorderableList:CacheIfNeeded ()
UnityEditorInternal.ReorderableList:GetListElementHeight ()
UnityEditorInternal.ReorderableList:GetHeight ()
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer.GetArgumentElementHeight (UnityEditor.Localization.UI.ReorderableListExtended list, System.Int32 idx) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:206)
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer+<>c__DisplayClass3_0.<CreatePropertyData>b__1 (System.Int32 i) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:154)
UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditorInternal.ReorderableList.GetListElementHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditorInternal.ReorderableList.GetHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer.GetPropertyHeight (UnityEditor.Localization.UI.LocalizedReferencePropertyDrawer`1+Data[TCollection] data, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:313)
UnityEditor.Localization.UI.PropertyDrawerExtended`1[TData].GetPropertyHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Utility/PropertyDrawerExtended.cs:58)
UnityEditor.PropertyDrawer.GetPropertyHeightSafe (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.PropertyHandler.GetHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.Localization.UI.LocalizeStringEventEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Components/LocalizeStringEventEditor.cs:26)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <d4fb0f5bc2524ac39bb755624e6a18e7>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Retrieving array element that was out of bounds
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer/<>c__DisplayClass3_0:<CreatePropertyData>b__1 (int)
UnityEditorInternal.ReorderableList:CacheIfNeeded ()
UnityEditorInternal.ReorderableList:GetListElementHeight ()
UnityEditorInternal.ReorderableList:GetListElementHeight ()
UnityEditorInternal.ReorderableList:GetHeight ()
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer.GetArgumentElementHeight (UnityEditor.Localization.UI.ReorderableListExtended list, System.Int32 idx) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:206)
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer+<>c__DisplayClass3_0.<CreatePropertyData>b__1 (System.Int32 i) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:154)
UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditorInternal.ReorderableList.GetListElementHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditorInternal.ReorderableList.GetListElementHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditorInternal.ReorderableList.GetHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer.GetPropertyHeight (UnityEditor.Localization.UI.LocalizedReferencePropertyDrawer`1+Data[TCollection] data, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:313)
UnityEditor.Localization.UI.PropertyDrawerExtended`1[TData].GetPropertyHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Utility/PropertyDrawerExtended.cs:58)
UnityEditor.PropertyDrawer.GetPropertyHeightSafe (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.PropertyHandler.GetHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.Localization.UI.LocalizeStringEventEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Components/LocalizeStringEventEditor.cs:26)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <d4fb0f5bc2524ac39bb755624e6a18e7>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
ArgumentException: Getting control 0's position in a group with only 0 controls when doing repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at <eae229a4813f4c22acf1ca5f77cc5794>:0)
UnityEngine.GUILayoutUtility.DoGetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <eae229a4813f4c22acf1ca5f77cc5794>:0)
UnityEngine.GUILayoutUtility.GetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <eae229a4813f4c22acf1ca5f77cc5794>:0)
UnityEditor.EditorGUILayout.GetControlRect (System.Boolean hasLabel, System.Single height, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.EditorGUILayout.GetControlRect (System.Boolean hasLabel, System.Single height, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.Localization.UI.LocalizeStringEventEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Components/LocalizeStringEventEditor.cs:26)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <d4fb0f5bc2524ac39bb755624e6a18e7>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Retrieving array element that was out of bounds
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer/<>c__DisplayClass3_0:<CreatePropertyData>b__1 (int)
UnityEditorInternal.ReorderableList:CacheIfNeeded ()
UnityEditorInternal.ReorderableList:GetListElementHeight ()
UnityEditorInternal.ReorderableList:GetHeight ()
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer.GetArgumentElementHeight (UnityEditor.Localization.UI.ReorderableListExtended list, System.Int32 idx) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:206)
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer+<>c__DisplayClass3_0.<CreatePropertyData>b__1 (System.Int32 i) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:154)
UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditorInternal.ReorderableList.GetListElementHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditorInternal.ReorderableList.GetHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer.GetPropertyHeight (UnityEditor.Localization.UI.LocalizedReferencePropertyDrawer`1+Data[TCollection] data, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:313)
UnityEditor.Localization.UI.PropertyDrawerExtended`1[TData].GetPropertyHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Utility/PropertyDrawerExtended.cs:58)
UnityEditor.PropertyDrawer.GetPropertyHeightSafe (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.PropertyHandler.GetHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.Localization.UI.LocalizeStringEventEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Components/LocalizeStringEventEditor.cs:26)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <d4fb0f5bc2524ac39bb755624e6a18e7>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Retrieving array element that was out of bounds
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer/<>c__DisplayClass3_0:<CreatePropertyData>b__1 (int)
UnityEditorInternal.ReorderableList:CacheIfNeeded ()
UnityEditorInternal.ReorderableList:GetListElementHeight ()
UnityEditorInternal.ReorderableList:GetListElementHeight ()
UnityEditorInternal.ReorderableList:GetHeight ()
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer.GetArgumentElementHeight (UnityEditor.Localization.UI.ReorderableListExtended list, System.Int32 idx) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:206)
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer+<>c__DisplayClass3_0.<CreatePropertyData>b__1 (System.Int32 i) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:154)
UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditorInternal.ReorderableList.GetListElementHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditorInternal.ReorderableList.GetListElementHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditorInternal.ReorderableList.GetHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer.GetPropertyHeight (UnityEditor.Localization.UI.LocalizedReferencePropertyDrawer`1+Data[TCollection] data, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:313)
UnityEditor.Localization.UI.PropertyDrawerExtended`1[TData].GetPropertyHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Utility/PropertyDrawerExtended.cs:58)
UnityEditor.PropertyDrawer.GetPropertyHeightSafe (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.PropertyHandler.GetHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.Localization.UI.LocalizeStringEventEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Components/LocalizeStringEventEditor.cs:26)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <d4fb0f5bc2524ac39bb755624e6a18e7>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
ArgumentException: Getting control 0's position in a group with only 0 controls when doing repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at <eae229a4813f4c22acf1ca5f77cc5794>:0)
UnityEngine.GUILayoutUtility.DoGetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <eae229a4813f4c22acf1ca5f77cc5794>:0)
UnityEngine.GUILayoutUtility.GetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <eae229a4813f4c22acf1ca5f77cc5794>:0)
UnityEditor.EditorGUILayout.GetControlRect (System.Boolean hasLabel, System.Single height, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.EditorGUILayout.GetControlRect (System.Boolean hasLabel, System.Single height, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.Localization.UI.LocalizeStringEventEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Components/LocalizeStringEventEditor.cs:26)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <d4fb0f5bc2524ac39bb755624e6a18e7>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Retrieving array element that was out of bounds
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer/<>c__DisplayClass3_0:<CreatePropertyData>b__1 (int)
UnityEditorInternal.ReorderableList:CacheIfNeeded ()
UnityEditorInternal.ReorderableList:smile:oListElements (UnityEngine.Rect,UnityEngine.Rect)
UnityEditorInternal.ReorderableList:smile:oList (UnityEngine.Rect,UnityEngine.Rect)
UnityEditorInternal.ReorderableList:smile:oList (UnityEngine.Rect)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer.GetArgumentElementHeight (UnityEditor.Localization.UI.ReorderableListExtended list, System.Int32 idx) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:206)
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer+<>c__DisplayClass3_0.<CreatePropertyData>b__1 (System.Int32 i) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:154)
UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditorInternal.ReorderableList.DoListElements (UnityEngine.Rect listRect, UnityEngine.Rect visibleRect) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditorInternal.ReorderableList.DoList (UnityEngine.Rect rect, UnityEngine.Rect visibleRect) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditorInternal.ReorderableList.DoList (UnityEngine.Rect rect) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer.OnGUI (UnityEditor.Localization.UI.LocalizedReferencePropertyDrawer`1+Data[TCollection] data, UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:221)
UnityEditor.Localization.UI.PropertyDrawerExtended`1[TData].OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Utility/PropertyDrawerExtended.cs:52)
UnityEditor.PropertyDrawer.OnGUISafe (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.Rect visibleArea) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
UnityEditor.Localization.UI.LocalizeStringEventEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Components/LocalizeStringEventEditor.cs:26)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <d4fb0f5bc2524ac39bb755624e6a18e7>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
2 Likes

Hey. This is a Unity bug coming from ReorderableList. A fix was landed in 2020.3.31f1 which caused this regression. We have a fix for this on the way but for now, I would suggest you roll back to 2020.3.30f1 or earlier.

Hey. Thank you for your reply. Have a good day.

1 Like

I have the same problem in 2021.2.17f1, is there a recommendation for an earlier version if you already want to use 2021.2.x but without the error message?

I believe 2021.2.14f1 is the version before the bug. There is a backport to fix the issue at the moment.
This is the fix that caused the issue, so avoid these versions Unity Issue Tracker - The elementHeightCallback is not called when selecting a different element
Unfortunately, the issue that has the fix is not public, ill ask the team to get it public so I can provide an issue tracker link.

You can get the older versions here Download Archive

thank you very much. I’ll try 14f1.

1 Like

We now have an issue tracker link you can follow Unity Issue Tracker - ReorderableList out of bounds exeception

Any progress on this? I have the same issue using Unity 2021.3.1f1 (LTS)

The fix is not currently in 2021.3, its on the way but no ETA at the moment. The last working version was 2021.2.14f1.

Thank you very much. I was surprised that the bug still occurs in LTS version. I’ll downgrade to 2021.2.14f1 then.

1 Like

@karl_jones hello, Im using 2020.3.34f1
the bug is still here in this version?
Im getting the same errors on editor

The issue should have been fixed in 2020.3.35f1.

2 Likes

Do you know if it’s fixed in a 2021.3 LTS version as well?

2021.3.3f1

3 Likes

I’m getting this error with 2021.3.3f1 version, any tips? (Localization package v1.3.2)

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer.GetArgumentElementHeight (UnityEditor.Localization.UI.ReorderableListExtended list, System.Int32 idx) (at Library/PackageCache/com.unity.localization@1.3.2/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:206)
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer+<>c__DisplayClass3_0.<CreatePropertyData>b__1 (System.Int32 i) (at Library/PackageCache/com.unity.localization@1.3.2/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:154)
UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditorInternal.ReorderableList.DoListElements (UnityEngine.Rect listRect, UnityEngine.Rect visibleRect) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditorInternal.ReorderableList.DoList (UnityEngine.Rect rect, UnityEngine.Rect visibleRect) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditorInternal.ReorderableList.DoList (UnityEngine.Rect rect) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.Localization.UI.LocalizedStringPropertyDrawer.OnGUI (UnityEditor.Localization.UI.LocalizedReferencePropertyDrawer`1+Data[TCollection] data, UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at Library/PackageCache/com.unity.localization@1.3.2/Editor/UI/Localized Reference/LocalizedStringPropertyDrawer.cs:221)
UnityEditor.Localization.UI.PropertyDrawerExtended`1[TData].OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at Library/PackageCache/com.unity.localization@1.3.2/Editor/UI/Utility/PropertyDrawerExtended.cs:52)
UnityEditor.PropertyDrawer.OnGUISafe (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.Rect visibleArea) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.Localization.UI.LocalizeStringEventEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.3.2/Editor/UI/Components/LocalizeStringEventEditor.cs:26)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <78eb217972d24c1381fc135c94c21a2c>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Could you try the latest version of 2021.3?

Perfect. With latest version there is no issues.
Thanks!

2 Likes