Search Unity

Question Constantly Getting Multiple Error Messages In Console

Discussion in 'Localization Tools' started by Crunch93, Mar 25, 2022.

  1. Crunch93

    Crunch93

    Joined:
    May 11, 2020
    Posts:
    4
    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:

    Code (CSharp):
    1. Retrieving array element that was out of bounds
    2. UnityEditor.Localization.UI.LocalizedStringPropertyDrawer/<>c__DisplayClass3_0:<CreatePropertyData>b__1 (int)
    3. UnityEditorInternal.ReorderableList:CacheIfNeeded ()
    4. UnityEditorInternal.ReorderableList:GetListElementHeight ()
    5. UnityEditorInternal.ReorderableList:GetHeight ()
    6. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    7.  
    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. 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)
    3. 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)
    4. UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    5. UnityEditorInternal.ReorderableList.GetListElementHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    6. UnityEditorInternal.ReorderableList.GetHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    7. 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)
    8. 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)
    9. UnityEditor.PropertyDrawer.GetPropertyHeightSafe (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    10. UnityEditor.PropertyHandler.GetHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    11. UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    12. UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    13. UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    14. UnityEditor.Localization.UI.LocalizeStringEventEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Components/LocalizeStringEventEditor.cs:26)
    15. UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <d4fb0f5bc2524ac39bb755624e6a18e7>:0)
    16. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
    Code (CSharp):
    1. Retrieving array element that was out of bounds
    2. UnityEditor.Localization.UI.LocalizedStringPropertyDrawer/<>c__DisplayClass3_0:<CreatePropertyData>b__1 (int)
    3. UnityEditorInternal.ReorderableList:CacheIfNeeded ()
    4. UnityEditorInternal.ReorderableList:GetListElementHeight ()
    5. UnityEditorInternal.ReorderableList:GetListElementHeight ()
    6. UnityEditorInternal.ReorderableList:GetHeight ()
    7. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    8.  
    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. 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)
    3. 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)
    4. UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    5. UnityEditorInternal.ReorderableList.GetListElementHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    6. UnityEditorInternal.ReorderableList.GetListElementHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    7. UnityEditorInternal.ReorderableList.GetHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    8. 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)
    9. 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)
    10. UnityEditor.PropertyDrawer.GetPropertyHeightSafe (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    11. UnityEditor.PropertyHandler.GetHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    12. UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    13. UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    14. UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    15. UnityEditor.Localization.UI.LocalizeStringEventEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Components/LocalizeStringEventEditor.cs:26)
    16. UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <d4fb0f5bc2524ac39bb755624e6a18e7>:0)
    17. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
    18.  
    Code (CSharp):
    1. ArgumentException: Getting control 0's position in a group with only 0 controls when doing repaint
    2. Aborting
    3. UnityEngine.GUILayoutGroup.GetNext () (at <eae229a4813f4c22acf1ca5f77cc5794>:0)
    4. UnityEngine.GUILayoutUtility.DoGetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <eae229a4813f4c22acf1ca5f77cc5794>:0)
    5. UnityEngine.GUILayoutUtility.GetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <eae229a4813f4c22acf1ca5f77cc5794>:0)
    6. UnityEditor.EditorGUILayout.GetControlRect (System.Boolean hasLabel, System.Single height, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    7. UnityEditor.EditorGUILayout.GetControlRect (System.Boolean hasLabel, System.Single height, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    8. UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    9. UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    10. UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    11. UnityEditor.Localization.UI.LocalizeStringEventEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Components/LocalizeStringEventEditor.cs:26)
    12. UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <d4fb0f5bc2524ac39bb755624e6a18e7>:0)
    13. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
    14.  
    Code (CSharp):
    1. Retrieving array element that was out of bounds
    2. UnityEditor.Localization.UI.LocalizedStringPropertyDrawer/<>c__DisplayClass3_0:<CreatePropertyData>b__1 (int)
    3. UnityEditorInternal.ReorderableList:CacheIfNeeded ()
    4. UnityEditorInternal.ReorderableList:GetListElementHeight ()
    5. UnityEditorInternal.ReorderableList:GetHeight ()
    6. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    7.  
    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. 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)
    3. 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)
    4. UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    5. UnityEditorInternal.ReorderableList.GetListElementHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    6. UnityEditorInternal.ReorderableList.GetHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    7. 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)
    8. 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)
    9. UnityEditor.PropertyDrawer.GetPropertyHeightSafe (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    10. UnityEditor.PropertyHandler.GetHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    11. UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    12. UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    13. UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    14. UnityEditor.Localization.UI.LocalizeStringEventEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Components/LocalizeStringEventEditor.cs:26)
    15. UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <d4fb0f5bc2524ac39bb755624e6a18e7>:0)
    16. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
    17.  
    Code (CSharp):
    1. Retrieving array element that was out of bounds
    2. UnityEditor.Localization.UI.LocalizedStringPropertyDrawer/<>c__DisplayClass3_0:<CreatePropertyData>b__1 (int)
    3. UnityEditorInternal.ReorderableList:CacheIfNeeded ()
    4. UnityEditorInternal.ReorderableList:GetListElementHeight ()
    5. UnityEditorInternal.ReorderableList:GetListElementHeight ()
    6. UnityEditorInternal.ReorderableList:GetHeight ()
    7. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. 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)
    3. 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)
    4. UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    5. UnityEditorInternal.ReorderableList.GetListElementHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    6. UnityEditorInternal.ReorderableList.GetListElementHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    7. UnityEditorInternal.ReorderableList.GetHeight () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    8. 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)
    9. 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)
    10. UnityEditor.PropertyDrawer.GetPropertyHeightSafe (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    11. UnityEditor.PropertyHandler.GetHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    12. UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    13. UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    14. UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    15. UnityEditor.Localization.UI.LocalizeStringEventEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Components/LocalizeStringEventEditor.cs:26)
    16. UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <d4fb0f5bc2524ac39bb755624e6a18e7>:0)
    17. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
    18.  
    Code (CSharp):
    1. ArgumentException: Getting control 0's position in a group with only 0 controls when doing repaint
    2. Aborting
    3. UnityEngine.GUILayoutGroup.GetNext () (at <eae229a4813f4c22acf1ca5f77cc5794>:0)
    4. UnityEngine.GUILayoutUtility.DoGetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <eae229a4813f4c22acf1ca5f77cc5794>:0)
    5. UnityEngine.GUILayoutUtility.GetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <eae229a4813f4c22acf1ca5f77cc5794>:0)
    6. UnityEditor.EditorGUILayout.GetControlRect (System.Boolean hasLabel, System.Single height, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    7. UnityEditor.EditorGUILayout.GetControlRect (System.Boolean hasLabel, System.Single height, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    8. UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    9. UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    10. UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    11. UnityEditor.Localization.UI.LocalizeStringEventEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Components/LocalizeStringEventEditor.cs:26)
    12. UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <d4fb0f5bc2524ac39bb755624e6a18e7>:0)
    13. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
    14.  
    Code (CSharp):
    1. Retrieving array element that was out of bounds
    2. UnityEditor.Localization.UI.LocalizedStringPropertyDrawer/<>c__DisplayClass3_0:<CreatePropertyData>b__1 (int)
    3. UnityEditorInternal.ReorderableList:CacheIfNeeded ()
    4. UnityEditorInternal.ReorderableList:DoListElements (UnityEngine.Rect,UnityEngine.Rect)
    5. UnityEditorInternal.ReorderableList:DoList (UnityEngine.Rect,UnityEngine.Rect)
    6. UnityEditorInternal.ReorderableList:DoList (UnityEngine.Rect)
    7. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    8.  
    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. 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)
    3. 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)
    4. UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    5. UnityEditorInternal.ReorderableList.DoListElements (UnityEngine.Rect listRect, UnityEngine.Rect visibleRect) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    6. UnityEditorInternal.ReorderableList.DoList (UnityEngine.Rect rect, UnityEngine.Rect visibleRect) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    7. UnityEditorInternal.ReorderableList.DoList (UnityEngine.Rect rect) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    8. 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)
    9. 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)
    10. UnityEditor.PropertyDrawer.OnGUISafe (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    11. UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.Rect visibleArea) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    12. UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    13. UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    14. UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    15. UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <9f01bdfe2db54f738bae09d12d90e1b8>:0)
    16. UnityEditor.Localization.UI.LocalizeStringEventEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Components/LocalizeStringEventEditor.cs:26)
    17. UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <d4fb0f5bc2524ac39bb755624e6a18e7>:0)
    18. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
    19.  
     
    AldeRoberge and Nipponirisme like this.
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,281
    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.
     
  3. Crunch93

    Crunch93

    Joined:
    May 11, 2020
    Posts:
    4
    Hey. Thank you for your reply. Have a good day.
     
    karl_jones likes this.
  4. mkneib

    mkneib

    Joined:
    Aug 3, 2016
    Posts:
    8
    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?
     
  5. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,281
    Last edited: Mar 30, 2022
  6. mkneib

    mkneib

    Joined:
    Aug 3, 2016
    Posts:
    8
    thank you very much. I'll try 14f1.
     
    karl_jones likes this.
  7. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,281
  8. AgaDeoN

    AgaDeoN

    Joined:
    May 19, 2020
    Posts:
    9
    Any progress on this? I have the same issue using Unity 2021.3.1f1 (LTS)
     
  9. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,281
    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.
     
    Last edited: Apr 28, 2022
  10. AgaDeoN

    AgaDeoN

    Joined:
    May 19, 2020
    Posts:
    9
    Thank you very much. I was surprised that the bug still occurs in LTS version. I'll downgrade to 2021.2.14f1 then.
     
    karl_jones likes this.
  11. elfasito

    elfasito

    Joined:
    Jul 4, 2017
    Posts:
    51
    @karl_jones hello, Im using 2020.3.34f1
    the bug is still here in this version?
    Im getting the same errors on editor
     
    Last edited: May 22, 2022
  12. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,281
    The issue should have been fixed in 2020.3.35f1.
     
    ysfbkrcn and elfasito like this.
  13. timbokoppers

    timbokoppers

    Joined:
    Nov 14, 2016
    Posts:
    71
    Do you know if it's fixed in a 2021.3 LTS version as well?
     
  14. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,281
    2021.3.3f1
     
  15. Riwer

    Riwer

    Joined:
    Jan 19, 2014
    Posts:
    23
    I'm getting this error with 2021.3.3f1 version, any tips? (Localization package v1.3.2)

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. 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)
    3. 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)
    4. UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
    5. UnityEditorInternal.ReorderableList.DoListElements (UnityEngine.Rect listRect, UnityEngine.Rect visibleRect) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
    6. UnityEditorInternal.ReorderableList.DoList (UnityEngine.Rect rect, UnityEngine.Rect visibleRect) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
    7. UnityEditorInternal.ReorderableList.DoList (UnityEngine.Rect rect) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
    8. 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)
    9. 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)
    10. UnityEditor.PropertyDrawer.OnGUISafe (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
    11. UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.Rect visibleArea) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
    12. UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
    13. UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
    14. UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
    15. UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
    16. UnityEditor.Localization.UI.LocalizeStringEventEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.3.2/Editor/UI/Components/LocalizeStringEventEditor.cs:26)
    17. UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <78eb217972d24c1381fc135c94c21a2c>:0)
    18. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
     
    Last edited: Jun 26, 2022
  16. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,281
    Could you try the latest version of 2021.3?
     
  17. Riwer

    Riwer

    Joined:
    Jan 19, 2014
    Posts:
    23
    Perfect. With latest version there is no issues.
    Thanks!
     
    Kyohei_ and karl_jones like this.