Unity-Technologies/UnityCsReference · error · NotSupportedException

PlayerSettings.storeLargeTile140 is deprecated. Use GetVisua

Error message

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

What it means

PlayerSettings.WSA.storeLargeTile140 is a deprecated static property getter that always throws NotSupportedException. The 140% scale variant of the large tile image was replaced by GetVisualAssetsImage(WSAImageType, WSAImageScale). It is [Obsolete(..., true)] and [EditorBrowsable(Never)].

Source

Thrown at Editor/Mono/PlayerSettingsWSA.cs:429

            public static string storeLargeTile
            {
                get
                {
                    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.");

View on GitHub (pinned to 225b0fbdb5)

Solutions

  1. Replace with PlayerSettings.WSA.GetVisualAssetsImage(WSAImageType.UWPSquare150x150Logo, WSAImageScale._150) — the 140% legacy scale maps closest to the UWP _150 scale.
  2. Audit and migrate all storeLargeTile140 references project-wide.
  3. Update any plugin DLLs that reference this member.

Example fix

// before
string path = PlayerSettings.WSA.storeLargeTile140;

// after
string path = PlayerSettings.WSA.GetVisualAssetsImage(WSAImageType.UWPSquare150x150Logo, WSAImageScale._150);
Defensive patterns

Strategy: type-guard

Validate before calling

// Use the new getter for ~140% scale
string path = PlayerSettings.WSA.GetVisualAssetsImage(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: Reading PlayerSettings.WSA.storeLargeTile140 (the getter) — typically in build-report or configuration-reading scripts. Direct calls fail to compile; runtime hits come from reflection.

Common situations: Upgrading from a Windows 8.1-era Unity project; plugins that enumerate or read WSA image properties; editor scripts that display the current tile configuration.

Related errors


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