Unity-Technologies/UnityCsReference · error · NotSupportedException
PlayerSettings.storeLargeTile is deprecated. Use GetVisualAs
Error message
PlayerSettings.storeLargeTile is deprecated. Use GetVisualAssetsImage() instead.
What it means
PlayerSettings.WSA.storeLargeTile is a deprecated static property getter that always throws NotSupportedException. Unity consolidated all WSA visual-asset image properties into GetVisualAssetsImage(WSAImageType, WSAImageScale). This base (no-scale-suffix) variant represented the 100% scale image. It is [Obsolete(..., true)] and [EditorBrowsable(Never)].
Source
Thrown at Editor/Mono/PlayerSettingsWSA.cs:415
public static string storeLargeTile80
{
get
{
throw new NotSupportedException("PlayerSettings.storeLargeTile80 is deprecated. Use GetVisualAssetsImage() instead.");
}
set
{
throw new NotSupportedException("PlayerSettings.storeLargeTile80 is deprecated. Use SetVisualAssetsImage() instead.");
}
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("Use GetVisualAssetsImage()/SetVisualAssetsImage()", true)]
public static string storeLargeTile
{
get
{
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.");View on GitHub (pinned to 225b0fbdb5)
Solutions
- Replace with PlayerSettings.WSA.GetVisualAssetsImage(WSAImageType.UWPSquare150x150Logo, WSAImageScale._100).
- Search for all storeLargeTile references (not just storeLargeTile80/140/180) and migrate them together.
- Update imported plugins to versions targeting the current Unity API.
Example fix
// before string path = PlayerSettings.WSA.storeLargeTile; // after string path = PlayerSettings.WSA.GetVisualAssetsImage(WSAImageType.UWPSquare150x150Logo, WSAImageScale._100);
Defensive patterns
Strategy: type-guard
Validate before calling
// Use the new getter with base scale string path = PlayerSettings.WSA.GetVisualAssetsImage(WSAImageType.UWPSquare150x150Logo, 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
- Migrate all storeLargeTile reads to GetVisualAssetsImage with WSAImageType.UWPSquare150x150Logo.
- Audit reflection-based code that traverses PlayerSettings.WSA properties and skip [Obsolete] members.
- Document the legacy-to-new property mapping in your build pipeline for future reference.
When it happens
Trigger: Reading PlayerSettings.WSA.storeLargeTile (the getter) in editor tooling, build reports, or configuration inspectors. Because of the [Obsolete(..., true)] attribute, the error surfaces at compile time for direct calls or at runtime via reflection.
Common situations: Legacy build pipeline code that reads tile image paths; upgrading a project from a Unity version where this property was still functional; editor scripts that iterate over PlayerSettings properties.
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 SetVisualAs
- PlayerSettings.storeLargeTile140 is deprecated. Use GetVisua
AI-assisted analysis of Unity-Technologies/UnityCsReference@225b0fbdb5 (2026-08-13).
Data as JSON: /api/errors/f4ab463d2fe01872.
Report an issue: GitHub.