Unity-Technologies/UnityCsReference · error · NotSupportedException

PlayerSettings.storeSplashScreenImageScale140 is deprecated.

Error message

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

What it means

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

Source

Thrown at Editor/Mono/PlayerSettingsWSA.cs:471

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

View on GitHub (pinned to 225b0fbdb5)

Solutions

  1. Replace with PlayerSettings.WSA.GetVisualAssetsImage(WSAImageType.SplashScreenImage, WSAImageScale._150) — the 140% legacy scale maps closest to UWP _150.
  2. Search for and migrate all storeSplashScreenImageScale140 references.
  3. Update or replace plugin DLLs referencing the deprecated member.

Example fix

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

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

Strategy: type-guard

Validate before calling

// Use the new getter for splash screen at ~140% scale
string path = PlayerSettings.WSA.GetVisualAssetsImage(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: Reading PlayerSettings.WSA.storeSplashScreenImageScale140 (the getter) in editor tooling, build reports, or serialization paths. Compile-time failure for direct access; runtime via reflection.

Common situations: Porting a Windows 8.1-era splash screen configuration to UWP; plugins that read multi-scale splash screen paths; upgrading Unity with stale references in third-party code.

Related errors


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