(Case 1324225) CSV extension causes exception after changing script and entering playmode

Please see Case 1324225.

"com.unity.addressables": "1.17.5-preview",
"com.unity.localization": "0.10.0-preview",

Using the Unity Localization package with a “CSV Extension” added to a “String Table” causes Unity to output an “UnityException” every time a script is changed or when entering playmode.

UnityException: get_isUpdating is not allowed to be called during serialization, call it from OnEnable instead. Called from ScriptableObject 'StringTableCollection'.
See "Script Serialization" page in the Unity Manual for further details.
UnityEditor.AddressableAssets.AddressableAssetSettingsDefaultObject.get_Settings () (at Library/PackageCache/com.unity.addressables@1.17.5-preview/Editor/AddressableAssetSettingsDefaultObject.cs:113)
UnityEditor.AddressableAssets.AddressableAssetSettingsDefaultObject.GetSettings (System.Boolean create) (at Library/PackageCache/com.unity.addressables@1.17.5-preview/Editor/AddressableAssetSettingsDefaultObject.cs:173)
UnityEditor.Localization.LocalizationEditorSettings.GetAddressableAssetSettings (System.Boolean create) (at Library/PackageCache/com.unity.localization@0.10.0-preview/Editor/Settings/LocalizationEditorSettings.cs:381)
UnityEditor.Localization.LocalizationEditorSettings.GetLocalesInternal () (at Library/PackageCache/com.unity.localization@0.10.0-preview/Editor/Settings/LocalizationEditorSettings.cs:544)
UnityEditor.Localization.LocalizationEditorSettings.GetLocales () (at Library/PackageCache/com.unity.localization@0.10.0-preview/Editor/Settings/LocalizationEditorSettings.cs:101)
UnityEditor.Localization.Plugins.CSV.Columns.ColumnMapping.AddLocaleMappings (System.Collections.Generic.IList`1[T] cells, System.Boolean includeComments) (at Library/PackageCache/com.unity.localization@0.10.0-preview/Editor/Plugins/CSV/Columns/ColumnMapping.cs:19)
UnityEditor.Localization.Plugins.CSV.Columns.ColumnMapping.CreateDefaultMapping (System.Boolean includeComments) (at Library/PackageCache/com.unity.localization@0.10.0-preview/Editor/Plugins/CSV/Columns/ColumnMapping.cs:13)
UnityEditor.Localization.Plugins.CSV.CsvExtension..ctor () (at Library/PackageCache/com.unity.localization@0.10.0-preview/Editor/Plugins/CSV/CsvExtension.cs:13)
1 Like

Ah thanks. We have already fixed this bug in the next release 0.11.0. Aiming to get it released next week.

1 Like