Unity-Technologies/UnityCsReference · error · NotSupportedException

PlayerSettings.storeSplashScreenImageScale140 is deprecated.

Error message

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

What it means

PlayerSettings.WSA.storeSplashScreenImageScale140 is a deprecated static property setter that always throws NotSupportedException. The 140% scale splash screen image assignment was replaced by SetVisualAssetsImage(string, WSAImageType, WSAImageScale) with type WSAImageType.SplashScreenImage. It is [Obsolete(..., true)] and [EditorBrowsable(Never)].

Source

Thrown at Editor/Mono/PlayerSettingsWSA.cs:475

                    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)]
            [Obsolete("Use GetVisualAssetsImage()/SetVisualAssetsImage()", true)]
            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)]

View on GitHub (pinned to 225b0fbdb5)

Solutions

  1. Replace with PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.SplashScreenImage, WSAImageScale._150).
  2. Migrate all storeSplashScreenImage* variants at once.
  3. Replace stale plugin DLLs with versions compatible with the current Unity API.

Example fix

// before
PlayerSettings.WSA.storeSplashScreenImageScale140 = "Assets/Icons/splash140.png";

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

Strategy: type-guard

Validate before calling

// Use the new setter for splash screen at ~140% scale
PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.SplashScreenImage, 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.storeSplashScreenImageScale140 (the setter) in editor scripts, build pipelines, or post-processing. Encountered most through reflection-based code or stale API references.

Common situations: Migrating a UWP build pipeline from an older Unity version; CI scripts that set splash screen images at multiple scales; third-party packages with stale property references.

Related errors


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