Unity-Technologies/UnityCsReference · error · NotSupportedException

PlayerSettings.storeTileWideLogo80 is deprecated. Use SetVis

Error message

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

What it means

Writing PlayerSettings.WSA.storeTileWideLogo80 throws NotSupportedException directing you to SetVisualAssetsImage(). The setter is [Obsolete("...", true)] and EditorBrowsable(Never), so source assignment is a compile-time error (CS0619); the runtime throw fires only via reflection, dynamic, or a pre-compiled assembly. Migrate to SetVisualAssetsImage(image, WSAImageType.UWPWide310x150Logo, WSAImageScale).

Source

Thrown at Editor/Mono/PlayerSettingsWSA.cs:237

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

            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
            [Obsolete("Use GetVisualAssetsImage()/SetVisualAssetsImage()", true)]
            public static string storeTileWideLogo80
            {
                get
                {
                    throw new NotSupportedException("PlayerSettings.storeTileWideLogo80 is deprecated. Use GetVisualAssetsImage() instead.");
                }
                set
                {
                    throw new NotSupportedException("PlayerSettings.storeTileWideLogo80 is deprecated. Use SetVisualAssetsImage() instead.");
                }
            }

            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
            [Obsolete("Use GetVisualAssetsImage()/SetVisualAssetsImage()", true)]
            public static string storeTileWideLogo
            {
                get
                {
                    throw new NotSupportedException("PlayerSettings.storeTileWideLogo is deprecated. Use GetVisualAssetsImage() instead.");
                }
                set
                {
                    throw new NotSupportedException("PlayerSettings.storeTileWideLogo is deprecated. Use SetVisualAssetsImage() instead.");
                }
            }

            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]

View on GitHub (pinned to 225b0fbdb5)

Solutions

  1. Recompile the assembly against the current editor to surface CS0619 and migrate.
  2. Replace with PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.UWPWide310x150Logo, <WSAImageScale>).
  3. Drop storeTileWideLogo80 from reflective write loops; honor EditorBrowsableState.Never.
  4. Version-gate reflective access on the obsoleting release.

Example fix

// before
PlayerSettings.WSA.storeTileWideLogo80 = "Assets/Logos/wide80.png";

// after
PlayerSettings.WSA.SetVisualAssetsImage("Assets/Logos/wide80.png",
    WSAImageType.UWPWide310x150Logo, 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.storeTileWideLogo80 = path; }
catch (System.NotSupportedException)
{
    PlayerSettings.WSA.SetVisualAssetsImage(path,
        WSAImageType.UWPWide310x150Logo, WSAImageScale._100);
}

Prevention

When it happens

Trigger: Reflective SetValue on storeTileWideLogo80, a stale DLL assigning it, or C# dynamic assignment. Direct assignment in current source does not compile.

Common situations: Legacy plugin or build automation compiled before the deprecation. Reflective write loops over PlayerSettings.WSA. Upgrading a project across the obsoleting Unity version.

Related errors


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