Unity-Technologies/UnityCsReference · error · NotSupportedException

PlayerSettings.storeTileLogo140 is deprecated. Use GetVisual

Error message

PlayerSettings.storeTileLogo140 is deprecated. Use GetVisualAssetsImage() instead.

What it means

Reading PlayerSettings.WSA.storeTileLogo140 throws NotSupportedException directing you to GetVisualAssetsImage(). The property is [Obsolete("Use GetVisualAssetsImage()/SetVisualAssetsImage()", true)] and EditorBrowsable(Never); source references are compile-time errors (CS0619) and the throw is only reachable via reflection, dynamic, or a pre-compiled assembly. storeTileLogo140 was the 140-scale store tile logo; retrieve it through GetVisualAssetsImage with the appropriate type and scale.

Source

Thrown at Editor/Mono/PlayerSettingsWSA.cs:205

            public static string storeTileLogo
            {
                get
                {
                    throw new NotSupportedException("PlayerSettings.storeTileLogo is deprecated. Use GetVisualAssetsImage() instead.");
                }
                set
                {
                    throw new NotSupportedException("PlayerSettings.storeTileLogo is deprecated. Use SetVisualAssetsImage() instead.");
                }
            }

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

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

View on GitHub (pinned to 225b0fbdb5)

Solutions

  1. Recompile the calling assembly against the current editor to expose CS0619, then migrate.
  2. Replace with PlayerSettings.WSA.GetVisualAssetsImage(<WSAImageType>, WSAImageScale._140) where supported, or the nearest matching scale.
  3. Remove storeTileLogo140 from reflective read loops; it is EditorBrowsableState.Never.
  4. Version-gate unavoidable reflective access.

Example fix

// before
string logo = PlayerSettings.WSA.storeTileLogo140;

// after — pick the WSAImageType/Scale that corresponds to the tile you need
string logo = PlayerSettings.WSA.GetVisualAssetsImage(
    WSAImageType.UWPSquare150x150Logo, WSAImageScale._100);
Defensive patterns

Strategy: fallback

Validate before calling

static bool IsDeprecatedStoreTile(System.Reflection.PropertyInfo p)
    => p.GetCustomAttributes(typeof(System.ObsoleteAttribute), false)
         .Cast<System.ObsoleteAttribute>().Any(o => o.IsError);

Try / catch

try { _ = PlayerSettings.WSA.storeTileLogo140; }
catch (System.NotSupportedException)
{
    var logo = PlayerSettings.WSA.GetVisualAssetsImage(
        WSAImageType.UWPSquare150x150Logo, WSAImageScale._100);
}

Prevention

When it happens

Trigger: Reflective read of storeTileLogo140, a stale assembly reading it, or C# dynamic access. Direct source reads are compiler errors.

Common situations: Old build pipeline compiled against a pre-deprecation Unity. Generic PlayerSettings.WSA snapshot tools. Project upgrade across the deprecating version.

Related errors


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