Unity-Technologies/UnityCsReference · error · NotSupportedException
PlayerSettings.storeTileLogo80 is deprecated. Use SetVisualA
Error message
PlayerSettings.storeTileLogo80 is deprecated. Use SetVisualAssetsImage() instead.
What it means
Writing PlayerSettings.WSA.storeTileLogo80 throws NotSupportedException directing you to SetVisualAssetsImage(). The setter is [Obsolete("Use GetVisualAssetsImage()/SetVisualAssetsImage()", true)] and EditorBrowsable(Never), so assignment in source is a compile-time error (CS0619); the runtime throw is reached only via reflection, dynamic, or a pre-compiled assembly. Use SetVisualAssetsImage(image, WSAImageType, WSAImageScale) instead.
Source
Thrown at Editor/Mono/PlayerSettingsWSA.cs:181
}
catch
{
Debug.LogError("Failed to parse value ('" + family + "," + stringValue + "') to bool type.");
return false;
}
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("Use GetVisualAssetsImage()/SetVisualAssetsImage()", true)]
public static string storeTileLogo80
{
get
{
throw new NotSupportedException("PlayerSettings.storeTileLogo80 is deprecated. Use GetVisualAssetsImage() instead.");
}
set
{
throw new NotSupportedException("PlayerSettings.storeTileLogo80 is deprecated. Use SetVisualAssetsImage() instead.");
}
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("Use GetVisualAssetsImage()/SetVisualAssetsImage()", true)]
public static string storeTileLogo
{
get
{
throw new NotSupportedException("PlayerSettings.storeTileLogo is deprecated. Use GetVisualAssetsImage() instead.");
}
set
{
throw new NotSupportedException("PlayerSettings.storeTileLogo is deprecated. Use SetVisualAssetsImage() instead.");
}
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]View on GitHub (pinned to 225b0fbdb5)
Solutions
- Recompile the assembly against the current editor to surface CS0619 and migrate the assignment.
- Replace the write with PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.UWPSquare44x44Logo, WSAImageScale._100) for the appropriate tile/scale.
- Drop storeTileLogo* from reflective write loops; honor EditorBrowsableState.Never.
- Version-gate reflective access on the obsoleting Unity release.
Example fix
// before
PlayerSettings.WSA.storeTileLogo80 = "Assets/Logos/tile80.png";
// after
PlayerSettings.WSA.SetVisualAssetsImage("Assets/Logos/tile80.png",
WSAImageType.UWPSquare44x44Logo, WSAImageScale._100); Defensive patterns
Strategy: fallback
Validate before calling
static bool IsDeprecatedStoreTile(System.Reflection.PropertyInfo p)
=> p.GetCustomAttributes(typeof(System.ObsoleteAttribute), false)
.Cast<System.ObsoleteAttribute>().Any(o => o.IsError); Try / catch
try { PlayerSettings.WSA.storeTileLogo80 = path; }
catch (System.NotSupportedException)
{
PlayerSettings.WSA.SetVisualAssetsImage(path,
WSAImageType.UWPSquare44x44Logo, WSAImageScale._100);
} Prevention
- Write tile logos exclusively through SetVisualAssetsImage.
- Recompile plugins against the current editor so the obsolete assignment fails at compile time.
- Exclude storeTileLogo* from reflective write loops.
- Grep for 'storeTileLogo' before upgrading Unity.
When it happens
Trigger: Reflective property SetValue on storeTileLogo80; a stale DLL assigning the property; C# dynamic assignment. Direct assignment in current source does not compile.
Common situations: Legacy plugin or build script compiled before the deprecation. Editor automation that reflects to set all WSA tile assets. Upgrading a project across the Unity version that obsoleted these members.
Related errors
- PlayerSettings.storeTileLogo80 is deprecated. Use GetVisualA
- PlayerSettings.storeTileLogo is deprecated. Use GetVisualAss
- PlayerSettings.storeTileLogo is deprecated. Use SetVisualAss
- PlayerSettings.storeTileLogo140 is deprecated. Use GetVisual
- PlayerSettings.storeTileLogo140 is deprecated. Use SetVisual
AI-assisted analysis of Unity-Technologies/UnityCsReference@225b0fbdb5 (2026-08-13).
Data as JSON: /api/errors/9323b3e2cb137c14.
Report an issue: GitHub.