Unity-Technologies/UnityCsReference · error · NotSupportedException

PlayerSettings.storeSplashScreenImageScale180 is deprecated.

Error message

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

What it means

PlayerSettings.WSA.storeSplashScreenImageScale180 is a deprecated static property setter that always throws NotSupportedException. The 180% 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:489

                    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.");
                }
            }

            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]

View on GitHub (pinned to 225b0fbdb5)

Solutions

  1. Replace with PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.SplashScreenImage, WSAImageScale._200).
  2. Migrate all storeSplashScreenImage* variants at the same time to avoid partial migration.
  3. Replace stale plugin DLLs with updated versions.

Example fix

// before
PlayerSettings.WSA.storeSplashScreenImageScale180 = "Assets/Icons/splash180.png";

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

Strategy: type-guard

Validate before calling

// Use the new setter for splash screen at ~180% scale
PlayerSettings.WSA.SetVisualAssetsImage(path, 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: Assigning to PlayerSettings.WSA.storeSplashScreenImageScale180 (the setter) in editor automation, build scripts, or post-processing. Typically hit via reflection or code compiled against a deprecated API.

Common situations: Migrating a UWP build pipeline from Unity 5.x/2017; CI scripts that set splash screen images at scale factors; third-party editor extensions referencing old property names.

Related errors


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