Unity-Technologies/UnityCsReference · error · NotSupportedException

PlayerSettings.storeTileLogo80 is deprecated. Use…

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.

Solutions

  1. Recompile the assembly against the current editor to surface CS0619 and migrate the assignment.
  2. Replace the write with PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.UWPSquare44x44Logo, WSAImageScale._100) for the appropriate tile/scale.
  3. Drop storeTileLogo* from reflective write loops; honor EditorBrowsableState.Never.
  4. 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

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


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

Appendix: 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)