Unity-Technologies/UnityCsReference · error · NotSupportedException

PlayerSettings.storeSplashScreenImage is deprecated. Use Set

Error message

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

What it means

PlayerSettings.WSA.storeSplashScreenImage is a deprecated static property setter that always throws NotSupportedException. The base-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:461

                    throw new NotSupportedException("PlayerSettings.storeLargeTile180 is deprecated. Use GetVisualAssetsImage() instead.");
                }
                set
                {
                    throw new NotSupportedException("PlayerSettings.storeLargeTile180 is deprecated. Use SetVisualAssetsImage() instead.");
                }
            }

            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
            [Obsolete("Use GetVisualAssetsImage()/SetVisualAssetsImage()", true)]
            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)]

View on GitHub (pinned to 225b0fbdb5)

Solutions

  1. Replace with PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.SplashScreenImage, WSAImageScale._100).
  2. Migrate all storeSplashScreenImage* scale variants at the same time.
  3. Update plugins to versions targeting the current Unity API.

Example fix

// before
PlayerSettings.WSA.storeSplashScreenImage = "Assets/Icons/splash.png";

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

Strategy: type-guard

Validate before calling

// Use the new setter for splash screen at base scale
PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.SplashScreenImage, WSAImageScale._100);

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.storeSplashScreenImage (the setter) in editor scripts, build automation, or post-processing. Usually reached via reflection or code targeting a deprecated API surface.

Common situations: Upgrading from Unity 5.x/2017 to a newer version; CI scripts that set the UWP splash screen image; third-party build tools that hard-code old property names.

Related errors


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