Unity-Technologies/UnityCsReference · error · NotSupportedException

PlayerSettings.storeSplashScreenImageScale180 is deprecated.

Error message

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

What it means

PlayerSettings.WSA.storeSplashScreenImageScale180 is a deprecated static property getter that always throws NotSupportedException. The 180% scale splash screen image property was replaced by GetVisualAssetsImage(WSAImageType, WSAImageScale) with type WSAImageType.SplashScreenImage. It is [Obsolete(..., true)] and [EditorBrowsable(Never)].

Source

Thrown at Editor/Mono/PlayerSettingsWSA.cs:485

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

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

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

View on GitHub (pinned to 225b0fbdb5)

Solutions

  1. Replace with PlayerSettings.WSA.GetVisualAssetsImage(WSAImageType.SplashScreenImage, WSAImageScale._200) — the 180% legacy scale maps closest to UWP _200.
  2. Audit and migrate all storeSplashScreenImageScale180 references.
  3. Update plugin DLLs that reference the deprecated getter.

Example fix

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

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

Strategy: type-guard

Validate before calling

// Use the new getter for splash screen at ~180% scale
string path = PlayerSettings.WSA.GetVisualAssetsImage(WSAImageType.SplashScreenImage, 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: Reading PlayerSettings.WSA.storeSplashScreenImageScale180 (the getter) in editor scripts, build reports, or configuration readers. Direct access fails to compile; runtime hits come from reflection.

Common situations: Upgrading from a Windows 8.1-era Unity project to UWP; plugins that read splash screen paths at multiple scales; build scripts that export current WSA configuration.

Related errors


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