Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.2.1
Issue ID
LOC-647
Regression
Yes
Errors thrown when creating String Table collection in new project.
1. Create a new project in *2021.2.15f1* using the *3D URP* template
2. Add the localization package, create the localization settings and add 2 Locales English and Japanese.
3. Create a new String Table collection.
4. When the collection is created errors will be thrown in the console
{noformat}
Retrieving array element that was out of bounds
UnityEditor.Localization.UI.ReorderableListExtended:GetElementHeight (int)
UnityEditorInternal.ReorderableList:CacheIfNeeded ()
UnityEditorInternal.ReorderableList:GetListElementHeight ()
UnityEditorInternal.ReorderableList:DoLayoutList ()
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 <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditor.EditorGUI.GetPropertyHeightInternal (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditor.EditorGUI.GetPropertyHeight (UnityEditor.SerializedProperty property, System.Boolean includeChildren) (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditor.Localization.UI.ReorderableListExtended.GetElementHeight (System.Int32 idx) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Utility/ReorderableListExtended.cs:94)
UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditorInternal.ReorderableList.GetListElementHeight () (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditorInternal.ReorderableList.DoLayoutList () (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditor.Localization.UI.LocalizationTableCollectionEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Tables/LocalizationTableCollectionEditor.cs:211)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <fa4830dcb55b4d21a18ffd468621039e>: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:DoLayoutList ()
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 <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditor.EditorGUI.GetPropertyHeightInternal (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditor.EditorGUI.GetPropertyHeight (UnityEditor.SerializedProperty property, System.Boolean includeChildren) (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditor.Localization.UI.ReorderableListExtended.GetElementHeight (System.Int32 idx) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Utility/ReorderableListExtended.cs:94)
UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditorInternal.ReorderableList.GetListElementHeight () (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditorInternal.ReorderableList.GetListElementHeight () (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditorInternal.ReorderableList.DoLayoutList () (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditor.Localization.UI.LocalizationTableCollectionEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Tables/LocalizationTableCollectionEditor.cs:211)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <fa4830dcb55b4d21a18ffd468621039e>: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 <b2402a089b6342f69ac2b0aa0047472d>:0)
UnityEngine.GUILayoutUtility.DoGetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <b2402a089b6342f69ac2b0aa0047472d>:0)
UnityEngine.GUILayoutUtility.GetRect (System.Single width, System.Single height, UnityEngine.GUILayoutOption[] options) (at <b2402a089b6342f69ac2b0aa0047472d>:0)
UnityEditorInternal.ReorderableList.DoLayoutList () (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditor.Localization.UI.LocalizationTableCollectionEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Tables/LocalizationTableCollectionEditor.cs:211)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <fa4830dcb55b4d21a18ffd468621039e>: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:DoListElements (UnityEngine.Rect,UnityEngine.Rect)
UnityEditorInternal.ReorderableList:DoLayoutList ()
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 <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditor.EditorGUI.GetPropertyHeightInternal (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditor.EditorGUI.GetPropertyHeight (UnityEditor.SerializedProperty property, System.Boolean includeChildren) (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditor.Localization.UI.ReorderableListExtended.GetElementHeight (System.Int32 idx) (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Utility/ReorderableListExtended.cs:94)
UnityEditorInternal.ReorderableList.CacheIfNeeded () (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditorInternal.ReorderableList.DoListElements (UnityEngine.Rect listRect, UnityEngine.Rect visibleRect) (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditorInternal.ReorderableList.DoLayoutList () (at <2919c21692194bd4aadcc86b58da6722>:0)
UnityEditor.Localization.UI.LocalizationTableCollectionEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Tables/LocalizationTableCollectionEditor.cs:211)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <fa4830dcb55b4d21a18ffd468621039e>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
{noformat}
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The "UnityWebRequest.result" of the "UnityWebRequestTexture.GetTexture" method changes when accessing "UnityWebRequest.downloadHandler" texture
- Slider rounding does not allow setting certain valid numbers as Values when Low and High Values not set to default
- UI Builder Canvas has too big resizing zone on the outside of the canvas
- GetCurrentAnimatorClipInfoCount() and GetNextAnimatorClipInfoCount() return 0 when animator is in transition
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
Resolution Note:
Unity Editor bug: https://issuetracker.unity3d.com/issues/editor-null-reference-exception-when-highlighting-or-creating-collection-tables-for-localization