Adding an AudioClip to a term results in null

More
2 months 4 weeks ago #3606 by Festus
Hi!

I'm trying to add a term for audio clips. When I drag an AudioClip to the inspector (or pick it from a list), I get a null reference exception and nothing else happens. Here's the stack trace:

NullReferenceException: Object reference not set to an instance of an object
I2.Loc.LocalizationEditor.OnGUI_Keys_LanguageTranslations (System.String Key, I2.Loc.Localize localizeCmp, System.Boolean IsPrimaryKey, I2.Loc.TermData& termdata, I2.Loc.LanguageSourceData source) (at Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor_Terms_Description.cs:549)
I2.Loc.LocalizationEditor.OnGUI_Keys_Languages (System.String Key, I2.Loc.TermData& termdata, I2.Loc.Localize localizeCmp, System.Boolean IsPrimaryKey, I2.Loc.LanguageSourceData source) (at Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor_Terms_Description.cs:241)
I2.Loc.LocalizationEditor.OnGUI_Keys_Languages (System.String Key, I2.Loc.Localize localizeCmp, System.Boolean IsPrimaryKey) (at Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor_Terms_Description.cs:232)
I2.Loc.LocalizationEditor.OnGUI_KeyList_ShowKeyDetails () (at Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor_Terms_Description.cs:43)
I2.Loc.LocalizationEditor.OnGUI_KeysList (System.Boolean AllowExpandKey, System.Single Height, System.Boolean ShowTools) (at Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor_Terms.cs:131)
I2.Loc.LocalizationEditor.OnGUI_Main () (at Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor.cs:79)
I2.Loc.LocalizationEditor.OnInspectorGUI () (at Assets/I2/Localization/Scripts/Editor/Inspectors/LocalizationEditor.cs:174)
UnityEditor.InspectorWindow.DoOnInspectorGUI (System.Boolean rebuildOptimizedGUIBlock, UnityEditor.Editor editor, System.Boolean wasVisible, UnityEngine.Rect& contentRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1625)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


Unity version is 2018.3.8f. I'd greatly appreciate any help.

Please Log in or Create an account to join the conversation.

Time to create page: 0.144 seconds
Template by JoomlaShine