Unity-Technologies/UnityCsReference · error · NotSupportedException
PlayerSettings.storeLargeTile140 is deprecated. Use SetVisua
Error message
PlayerSettings.storeLargeTile140 is deprecated. Use SetVisualAssetsImage() instead.
What it means
PlayerSettings.WSA.storeLargeTile140 is a deprecated static property setter that always throws NotSupportedException. Unity replaced the legacy 140% large-tile image property with SetVisualAssetsImage(string, WSAImageType, WSAImageScale). It is [Obsolete(..., true)] and [EditorBrowsable(Never)].
Source
Thrown at Editor/Mono/PlayerSettingsWSA.cs:433
throw new NotSupportedException("PlayerSettings.storeLargeTile is deprecated. Use GetVisualAssetsImage() instead.");
}
set
{
throw new NotSupportedException("PlayerSettings.storeLargeTile is deprecated. Use SetVisualAssetsImage() instead.");
}
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("Use GetVisualAssetsImage()/SetVisualAssetsImage()", true)]
public static string storeLargeTile140
{
get
{
throw new NotSupportedException("PlayerSettings.storeLargeTile140 is deprecated. Use GetVisualAssetsImage() instead.");
}
set
{
throw new NotSupportedException("PlayerSettings.storeLargeTile140 is deprecated. Use SetVisualAssetsImage() instead.");
}
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("Use GetVisualAssetsImage()/SetVisualAssetsImage()", true)]
public static string storeLargeTile180
{
get
{
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)]View on GitHub (pinned to 225b0fbdb5)
Solutions
- Replace with PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.UWPSquare150x150Logo, WSAImageScale._150).
- Migrate all storeLargeTile* scale variants together to avoid partial migration.
- Update plugins to versions compatible with the current Unity API.
Example fix
// before
PlayerSettings.WSA.storeLargeTile140 = "Assets/Icons/largeTile140.png";
// after
PlayerSettings.WSA.SetVisualAssetsImage("Assets/Icons/largeTile140.png", WSAImageType.UWPSquare150x150Logo, WSAImageScale._150); Defensive patterns
Strategy: type-guard
Validate before calling
// Use the new setter for ~140% scale PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.UWPSquare150x150Logo, 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
- Replace storeLargeTile140 assignments with SetVisualAssetsImage using WSAImageScale._150.
- When reflecting on PlayerSettings.WSA, skip properties with [Obsolete(IsError=true)].
- Keep third-party packages updated to versions supporting the current API.
When it happens
Trigger: Assigning to PlayerSettings.WSA.storeLargeTile140 (the setter) in editor scripts, build automation, or post-processing. Usually encountered through reflection or stale API references.
Common situations: Migrating a UWP build pipeline from an older Unity version; CI scripts that set tile images at multiple scale factors; third-party tooling that hard-codes the old property name.
Related errors
- PlayerSettings.storeSmallTile180 is deprecated. Use SetVisua
- PlayerSettings.storeLargeTile80 is deprecated. Use GetVisual
- PlayerSettings.storeLargeTile80 is deprecated. Use SetVisual
- PlayerSettings.storeLargeTile is deprecated. Use GetVisualAs
- PlayerSettings.storeLargeTile is deprecated. Use SetVisualAs
AI-assisted analysis of Unity-Technologies/UnityCsReference@225b0fbdb5 (2026-08-13).
Data as JSON: /api/errors/20fc2ffecf6344d5.
Report an issue: GitHub.