1.20.5 Stack overflow warning on startup

Just upgraded to 1.20.5, and now everytime I load the project, I get these warnings:

Detected stack overflow when accessing AddressableAssetSettingsDefaultObject.Settings object.
UnityEditor.AddressableAssets.AddressableAssetSettingsDefaultObject:get_Settings ()
AddressablesPlayerBuildProcessor:CleanTemporaryPlayerBuildData () (at Library/PackageCache/com.unity.addressables@1.20.5/Editor/Build/AddressablesPlayerBuildProcessor.cs:40)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes ()

ProfileValueReference: AddressableAssetSettings object is null.
UnityEditor.AddressableAssets.AddressableAssetSettingsDefaultObject:get_Settings ()
AddressablesPlayerBuildProcessor:CleanTemporaryPlayerBuildData () (at Library/PackageCache/com.unity.addressables@1.20.5/Editor/Build/AddressablesPlayerBuildProcessor.cs:40)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes ()

Using Unity 2021.3.5 LTS

1 Like

Hi @CDF thanks for posting. What Addressables version did you upgrade from? I wasn’t able to reproduce the error when upgrading from 1.19.19 to 1.20.5 in a new project.

Also would recommend submitting a bug report with a reproduction project if possible.

Upgraded from 1.20.3.
I’ll try getting a reproduction up

HI @CDF
Have you found a solution to this issue?
I’m having the same issue with version 1.21.8 in Unity 2021.3.22f1.

Detected stack overflow when accessing AddressableAssetSettingsDefaultObject.Settings object.
UnityEditor.AddressableAssets.AddressableAssetSettingsDefaultObject:get_Settings ()
AddressablesPlayerBuildProcessor:CleanTemporaryPlayerBuildData () (at Library/PackageCache/com.unity.addressables@1.21.8/Editor/Build/AddressablesPlayerBuildProcessor.cs:40)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorAssemblies.cs:147)
ProfileValueReference: AddressableAssetSettings object is null.
UnityEditor.AddressableAssets.AddressableAssetSettingsDefaultObject:get_Settings ()
AddressablesPlayerBuildProcessor:CleanTemporaryPlayerBuildData () (at Library/PackageCache/com.unity.addressables@1.21.8/Editor/Build/AddressablesPlayerBuildProcessor.cs:40)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorAssemblies.cs:147)
1 Like