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
- Replace with PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.SplashScreenImage, WSAImageScale._100).
- Migrate all storeSplashScreenImage* scale variants at the same time.
- 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
- Replace storeSplashScreenImage assignments with SetVisualAssetsImage.
- Maintain a legacy-to-new mapping for all splash screen scale variants.
- Update plugins after Unity version bumps.
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
- PlayerSettings.storeSplashScreenImage is deprecated. Use Get
- PlayerSettings.storeSplashScreenImageScale140 is deprecated.
- PlayerSettings.storeSplashScreenImageScale140 is deprecated.
- PlayerSettings.storeSplashScreenImageScale180 is deprecated.
- PlayerSettings.storeSplashScreenImageScale180 is deprecated.
AI-assisted analysis of Unity-Technologies/UnityCsReference@225b0fbdb5 (2026-08-13).
Data as JSON: /api/errors/f6267f883fae6e16.
Report an issue: GitHub.