Search Issue Tracker

Fixed

Votes

0

Found in [Package]

0.6.1-preview

Issue ID

LOC-77

Regression

No

[Asset Tables Window] Editing TableEntry Metadata throws NullReferenceException

Package: Localization Package

-

1) Create a new StringTable or AssetTable for 1 or more locales.

2) Add 2 new Entries,

3) Click the Metadata button for the 2nd entry on one of the languages.

4) A NullReferenceException will be thrown.

_NullReferenceException: Object reference not set to an instance of an object_
_UnityEditor.Localization.UI.MetadataCollectionField.GetPropertyHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at C:/Unity/Packages/com.unity.localization/Packages/com.unity.localization/Editor/UI/Metadata/MetadataCollectionField.cs:127)_
_UnityEditor.Localization.UI.TableEntrySelected+<>c__DisplayClass10_0.<CreateEditor>b__3 () (at C:/Unity/Packages/com.unity.localization/Packages/com.unity.localization/Editor/UI/Tables/TableEntrySelected.cs:75)_
_UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Boolean canAffectFocus) (at <a6a3aac9b47844afbb8dcc407683ae01>:0)_
_UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)_

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.