Release version of localization tools broke addressables build

Hello.
Today I upgraded localization to version 1.0.1 from 1.0.0-pre.10, and now I can not build the addressables, which is necessary to use localization in the builds. Previously there are other errors, but I cleared the addressables build cache, so, for now there are only this three exceptions is displayed and nothing happens (I was waiting for the half an hour). Can this be fixed in some way? Tomorrow is deadline for the investor meeting application, and I wanted to submit fresh build, but now I can not:(

From the editor log:

[00:00:04] Enlighten: Finished 1 Bake Ambient Probe job (0,00s execute, 0,00s integrate, 0,07s wallclock)
EditorUpdateCheck: Response {"updateinterval":3600} updateurl =  interval = 3600
Refresh completed in 0,075836 seconds.
RefreshInfo: RefreshV2(AllowForceSynchronousImport) scanfilter:
RefreshProfiler: Total: 75,808ms
Refresh completed in 0,081939 seconds.
RefreshInfo: RefreshV2(AllowForceSynchronousImport) scanfilter:
RefreshProfiler: Total: 81,904ms
Object reference not set to an instance of an object
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:LogError (object)
UnityEditor.AddressableAssets.Build.DataBuilders.BuildScriptBase:BuildData<UnityEditor.AddressableAssets.Build.AddressablesPlayerBuildResult> (UnityEditor.AddressableAssets.Build.AddressablesDataBuilderInput) (at Library/PackageCache/com.unity.addressables@1.19.4/Editor/Build/DataBuilders/BuildScriptBase.cs:99)
UnityEditor.AddressableAssets.Settings.AddressableAssetSettings:BuildPlayerContentImpl () (at Library/PackageCache/com.unity.addressables@1.19.4/Editor/Settings/AddressableAssetSettings.cs:2529)
UnityEditor.AddressableAssets.Settings.AddressableAssetSettings:BuildPlayerContent (UnityEditor.AddressableAssets.Build.AddressablesPlayerBuildResult&) (at Library/PackageCache/com.unity.addressables@1.19.4/Editor/Settings/AddressableAssetSettings.cs:2500)
UnityEditor.AddressableAssets.Settings.AddressableAssetSettings:BuildPlayerContent () (at Library/PackageCache/com.unity.addressables@1.19.4/Editor/Settings/AddressableAssetSettings.cs:2283)
UnityEditor.AddressableAssets.GUI.AddressableAssetsSettingsGroupEditor:OnBuildPlayerData () (at Library/PackageCache/com.unity.addressables@1.19.4/Editor/GUI/AddressableAssetsSettingsGroupEditor.cs:356)
UnityEditor.AddressableAssets.GUI.AddressableAssetsSettingsGroupEditor:OnBuildScript (object) (at Library/PackageCache/com.unity.addressables@1.19.4/Editor/GUI/AddressableAssetsSettingsGroupEditor.cs:351)
UnityEditor.GenericMenu:CatchMenu (object,string[],int) (at /home/bokken/buildslave/unity/build/Editor/Mono/GUI/GenericMenu.cs:124)

(Filename: Library/PackageCache/com.unity.addressables@1.19.4/Editor/Build/DataBuilders/BuildScriptBase.cs Line: 99)

Object reference not set to an instance of an object
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:LogError (object)
UnityEditor.AddressableAssets.Settings.AddressableAssetSettings:BuildPlayerContentImpl () (at Library/PackageCache/com.unity.addressables@1.19.4/Editor/Settings/AddressableAssetSettings.cs:2532)
UnityEditor.AddressableAssets.Settings.AddressableAssetSettings:BuildPlayerContent (UnityEditor.AddressableAssets.Build.AddressablesPlayerBuildResult&) (at Library/PackageCache/com.unity.addressables@1.19.4/Editor/Settings/AddressableAssetSettings.cs:2500)
UnityEditor.AddressableAssets.Settings.AddressableAssetSettings:BuildPlayerContent () (at Library/PackageCache/com.unity.addressables@1.19.4/Editor/Settings/AddressableAssetSettings.cs:2283)
UnityEditor.AddressableAssets.GUI.AddressableAssetsSettingsGroupEditor:OnBuildPlayerData () (at Library/PackageCache/com.unity.addressables@1.19.4/Editor/GUI/AddressableAssetsSettingsGroupEditor.cs:356)
UnityEditor.AddressableAssets.GUI.AddressableAssetsSettingsGroupEditor:OnBuildScript (object) (at Library/PackageCache/com.unity.addressables@1.19.4/Editor/GUI/AddressableAssetsSettingsGroupEditor.cs:351)
UnityEditor.GenericMenu:CatchMenu (object,string[],int) (at /home/bokken/buildslave/unity/build/Editor/Mono/GUI/GenericMenu.cs:124)

(Filename: Library/PackageCache/com.unity.addressables@1.19.4/Editor/Settings/AddressableAssetSettings.cs Line: 2532)

Addressable content build failure (duration : 0:00:00)
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:LogError (object)
UnityEditor.AddressableAssets.Settings.AddressableAssetSettings:BuildPlayerContentImpl () (at Library/PackageCache/com.unity.addressables@1.19.4/Editor/Settings/AddressableAssetSettings.cs:2533)
UnityEditor.AddressableAssets.Settings.AddressableAssetSettings:BuildPlayerContent (UnityEditor.AddressableAssets.Build.AddressablesPlayerBuildResult&) (at Library/PackageCache/com.unity.addressables@1.19.4/Editor/Settings/AddressableAssetSettings.cs:2500)
UnityEditor.AddressableAssets.Settings.AddressableAssetSettings:BuildPlayerContent () (at Library/PackageCache/com.unity.addressables@1.19.4/Editor/Settings/AddressableAssetSettings.cs:2283)
UnityEditor.AddressableAssets.GUI.AddressableAssetsSettingsGroupEditor:OnBuildPlayerData () (at Library/PackageCache/com.unity.addressables@1.19.4/Editor/GUI/AddressableAssetsSettingsGroupEditor.cs:356)
UnityEditor.AddressableAssets.GUI.AddressableAssetsSettingsGroupEditor:OnBuildScript (object) (at Library/PackageCache/com.unity.addressables@1.19.4/Editor/GUI/AddressableAssetsSettingsGroupEditor.cs:351)
UnityEditor.GenericMenu:CatchMenu (object,string[],int) (at /home/bokken/buildslave/unity/build/Editor/Mono/GUI/GenericMenu.cs:124)

(Filename: Library/PackageCache/com.unity.addressables@1.19.4/Editor/Settings/AddressableAssetSettings.cs Line: 2533)

Can you see what is null at that line?
I have sometimes seen this happen when addressables has a missing reference in its groups or settings. It can sometimes be fixed by going into debug mode in the inspector and removing the null item or reconnecting it. If that fails the addressables Analyzers may help and if that fails deleting the addressables folder and running the analyzer should set everything back up.

In adressables groups itself nothing is null, in settings too. Stacktrace is related to the bokken machine, where this editor was built, not mine. Temporary solved by rollback via VCS. Has no idea, how to fix this by myself. Will wait for the 1.0.2

will submit bugreport today

Solved by upagrading to 2020.3.19.f1. Looks like 18.f1 version incompactibility

Update: not solved. After I tried to upgrade to 1.03, same bug is returned. For now, I can not build project with localization.
So, 1.18.15 version of the Addressables and 1.0.0-pre10 version of the localization is the latest buildable config. Funny, that preview version is more stable, than release:)

Can you check the addressables settings asset to see if it has any empty or missing groups after you upgrade?

Alternatively delete the addressables folder and then run the analyzers to re generate the settings file. It sounds like the settings may be corrupted

Hmm, looks like there are version incompatibility between localization and addressables exists: was not able to build 1.0.3 with 1.19.4, but now successfully built with 1.0.3 and 1.19.6. It’s strange

What error do you get?

Currently there are no errors, but with 1.19.4 version of the Addressables the error was same: https://discussions.unity.com/t/856641/3

So, previous successfull attempts was without restarting Unity after uprade to localization tools 1.03 and addressables 1.19.6. After upgrade & restart I have no ability to build localization. Removing addressables data folder is just not an option: I will have to again manually pick all previous addressables (including localization itself) and to not forget about each of that. When I try to build with “Update a previous build”, there are
“Previous build had ‘Build Remote Catalog’ disabled. You cannot update a player that has no remote catalog specified
UnityEditor.GenericMenu:CatchMenu (object,string[ ],int) (at /home/bokken/buildslave/unity/build/Editor/Mono/GUI/GenericMenu.cs:127)” error. I can add this to be able to use incremental builds in future, but for now it’s also not an option.
When I select new build with a default script, there are that error appears Release version of localization tools broke addressables build - #3 by syjgin . In adressables itself also there are no missing or something unusual: Release version of localization tools broke addressables build - #6 by syjgin
I’m so tired of this: for now I have to stuck on the 1.0.0-pre10 version, but will try to switch to I2 localization or something similar as soon as will have time budget for that

Are you a able to file a bug report? I’m not sure why upgrading would break things.

Yes, I already created bugreport: https://fogbugz.unity3d.com/default.asp?1368403_2v94rqhm2i5hi9dq
Btw, today I removed adressables data content and recreated all groups - as a result, localization itself is stops working even in the editor:

UnityEngine.AddressableAssets.InvalidKeyException: Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown., Key=3b5ae3a9ce850548aa3b7c3055b16d4a, Type=UnityEngine.Localization.Tables.SharedTableData
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1/<>c__DisplayClass57_0<UnityEngine.Localization.Settings.LocalizationSettings>:<add_CompletedTypeless>b__0 (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<UnityEngine.Localization.Settings.LocalizationSettings>)
DelegateList`1<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<UnityEngine.Localization.Settings.LocalizationSettings>>:Invoke (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<UnityEngine.Localization.Settings.LocalizationSettings>) (at Library/PackageCache/com.unity.addressables@1.19.6/Runtime/ResourceManager/Util/DelegateList.cs:69)
UnityEngine.Localization.InitializationOperation:<LoadLocales>b__10_0 (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<UnityEngine.Localization.Locale>)
DelegateList`1<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<UnityEngine.Localization.Locale>>:Invoke (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<UnityEngine.Localization.Locale>) (at Library/PackageCache/com.unity.addressables@1.19.6/Runtime/ResourceManager/Util/DelegateList.cs:69)
UnityEngine.ResourceManagement.ChainOperationTypelessDepedency`1<UnityEngine.Localization.Locale>:OnWrappedCompleted (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<UnityEngine.Localization.Locale>)
DelegateList`1<UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<UnityEngine.Localization.Locale>>:Invoke (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1<UnityEngine.Localization.Locale>) (at Library/PackageCache/com.unity.addressables@1.19.6/Runtime/ResourceManager/Util/DelegateList.cs:69)
UnityEngine.Localization.LocalizedString:ForceUpdate () (at Library/PackageCache/com

FWIW we may have run into something similar, where upgrading Localization (and thus Addressables) created a bunch of new “schema” scriptable objects, but all of the build/load paths seemed to be blank.

For us it was generating “key not present in dictionary” errors when building Addressables, so may not be the same thing, but going through each asset and setting a LocalBuild and LocalLoad path seems to have fixed.

Edit: Just saw in your screenshot that you had “key not present” errors logged out too, so might actually be same thing

Thank you, there was missing build & load paths in the autogenerated resources exists. After I filled it with local build/load path, adressables build is become working

Great!

Yeah I’m not sure if blank paths are actually valid to have, but either way it’d save a lot of headaches if the Addressables team could add some better error messaging to this type of configuration issue (instead of just a super common Dictionary exception that’s hard to google for), particularly if the auto-upgrade has some bugs that leave things in this state.