Unity-Technologies/UnityCsReference · error · NotSupportedException

PlayerSettings.storeLargeTile140 is deprecated. Use SetVisua

Error message

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

What it means

PlayerSettings.WSA.storeLargeTile140 is a deprecated static property setter that always throws NotSupportedException. Unity replaced the legacy 140% large-tile image property with SetVisualAssetsImage(string, WSAImageType, WSAImageScale). It is [Obsolete(..., true)] and [EditorBrowsable(Never)].

Source

Thrown at Editor/Mono/PlayerSettingsWSA.cs:433

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

            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
            [Obsolete("Use GetVisualAssetsImage()/SetVisualAssetsImage()", true)]
            public static string storeLargeTile140
            {
                get
                {
                    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)]

View on GitHub (pinned to 225b0fbdb5)

Solutions

  1. Replace with PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.UWPSquare150x150Logo, WSAImageScale._150).
  2. Migrate all storeLargeTile* scale variants together to avoid partial migration.
  3. Update plugins to versions compatible with the current Unity API.

Example fix

// before
PlayerSettings.WSA.storeLargeTile140 = "Assets/Icons/largeTile140.png";

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

Strategy: type-guard

Validate before calling

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

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.storeLargeTile140 (the setter) in editor scripts, build automation, or post-processing. Usually encountered through reflection or stale API references.

Common situations: Migrating a UWP build pipeline from an older Unity version; CI scripts that set tile images at multiple scale factors; third-party tooling that hard-codes the old property name.

Related errors


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