Unity-Technologies/UnityCsReference · error · NotSupportedException

PlayerSettings.storeLargeTile180 is deprecated. Use SetVisua

Error message

PlayerSettings.storeLargeTile180 is deprecated. Use SetVisualAssetsImage() instead.

What it means

PlayerSettings.WSA.storeLargeTile180 is a deprecated static property setter that always throws NotSupportedException. The 180% scale large-tile image assignment was replaced by SetVisualAssetsImage(string, WSAImageType, WSAImageScale). It is [Obsolete(..., true)] and [EditorBrowsable(Never)].

Source

Thrown at Editor/Mono/PlayerSettingsWSA.cs:447

                    throw new NotSupportedException("PlayerSettings.storeLargeTile140 is deprecated. Use GetVisualAssetsImage() instead.");
                }
                set
                {
                    throw new NotSupportedException("PlayerSettings.storeLargeTile140 is deprecated. Use SetVisualAssetsImage() instead.");
                }
            }

            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
            [Obsolete("Use GetVisualAssetsImage()/SetVisualAssetsImage()", true)]
            public static string storeLargeTile180
            {
                get
                {
                    throw new NotSupportedException("PlayerSettings.storeLargeTile180 is deprecated. Use GetVisualAssetsImage() instead.");
                }
                set
                {
                    throw new NotSupportedException("PlayerSettings.storeLargeTile180 is deprecated. Use SetVisualAssetsImage() instead.");
                }
            }

            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
            [Obsolete("Use GetVisualAssetsImage()/SetVisualAssetsImage()", true)]
            public static string storeSplashScreenImage
            {
                get
                {
                    throw new NotSupportedException("PlayerSettings.storeSplashScreenImage is deprecated. Use GetVisualAssetsImage() instead.");
                }
                set
                {
                    throw new NotSupportedException("PlayerSettings.storeSplashScreenImage is deprecated. Use SetVisualAssetsImage() instead.");
                }
            }

            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]

View on GitHub (pinned to 225b0fbdb5)

Solutions

  1. Replace with PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.UWPSquare150x150Logo, WSAImageScale._200).
  2. Migrate all storeLargeTile* variants at once to prevent mixed old/new API usage.
  3. Replace stale plugin DLLs with updated versions.

Example fix

// before
PlayerSettings.WSA.storeLargeTile180 = "Assets/Icons/largeTile180.png";

// after
PlayerSettings.WSA.SetVisualAssetsImage("Assets/Icons/largeTile180.png", WSAImageType.UWPSquare150x150Logo, WSAImageScale._200);
Defensive patterns

Strategy: type-guard

Validate before calling

// Use the new setter for ~180% scale
PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.UWPSquare150x150Logo, WSAImageScale._200);

Type guard

static bool IsDeprecatedWsaProperty(string name) =>
    typeof(PlayerSettings.WSA)
        .GetProperty(name,
            System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static)
        ?.GetCustomAttribute<ObsoleteAttribute>()?.IsError == true;

Prevention

When it happens

Trigger: Assigning to PlayerSettings.WSA.storeLargeTile180 (the setter) in editor automation, build scripts, or post-processing hooks. Typically reached via reflection-based code or code compiled against a deprecated API surface.

Common situations: Upgrading a project from Unity 5.x/2017 to a modern version; CI pipelines that configure WSA tile assets; third-party editor extensions referencing old property names.

Related errors


AI-assisted analysis of Unity-Technologies/UnityCsReference@225b0fbdb5 (2026-08-13). Data as JSON: /api/errors/1961e1f62c0c3832. Report an issue: GitHub.