{"record":{"id":"05aabc1efebc4b65","repo":"Unity-Technologies/UnityCsReference","slug":"playersettings-storetilelogo-is-deprecated-use-ge","errorCode":null,"errorMessage":"PlayerSettings.storeTileLogo is deprecated. Use GetVisualAssetsImage() instead.","messagePattern":"PlayerSettings\\.storeTileLogo is deprecated\\. Use GetVisualAssetsImage\\(\\) instead\\.","errorType":"exception","errorClass":"NotSupportedException","httpStatus":null,"severity":"error","filePath":"Editor/Mono/PlayerSettingsWSA.cs","lineNumber":191,"sourceCode":"            public static string storeTileLogo80\n            {\n                get\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeTileLogo80 is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeTileLogo80 is deprecated. Use SetVisualAssetsImage() instead.\");\n                }\n            }\n\n            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]\n            [Obsolete(\"Use GetVisualAssetsImage()/SetVisualAssetsImage()\", true)]\n            public static string storeTileLogo\n            {\n                get\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeTileLogo is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeTileLogo is deprecated. Use SetVisualAssetsImage() instead.\");\n                }\n            }\n\n            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]\n            [Obsolete(\"Use GetVisualAssetsImage()/SetVisualAssetsImage()\", true)]\n            public static string storeTileLogo140\n            {\n                get\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeTileLogo140 is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeTileLogo140 is deprecated. Use SetVisualAssetsImage() instead.\");","sourceCodeStart":173,"sourceCodeEnd":209,"githubUrl":"https://github.com/Unity-Technologies/UnityCsReference/blob/225b0fbdb57cc17d094e8056b71f8314aba56f73/Editor/Mono/PlayerSettingsWSA.cs#L173-L209","documentation":"Reading PlayerSettings.WSA.storeTileLogo throws NotSupportedException directing you to GetVisualAssetsImage(). The property is [Obsolete(\"Use GetVisualAssetsImage()/SetVisualAssetsImage()\", true)] and EditorBrowsable(Never), so source references fail at compile time (CS0619); the throw is reached only through reflection, dynamic dispatch, or a pre-compiled assembly. storeTileLogo was the default-scale store tile logo; use GetVisualAssetsImage with the correct WSAImageType/WSAImageScale.","triggerScenarios":"Reflective read of storeTileLogo, a stale assembly reading it, or C# dynamic access. Direct source reads are compiler errors.","commonSituations":"Old build/asset pipeline compiled against a pre-deprecation Unity. Generic PlayerSettings.WSA snapshot tools. Project upgrade across the deprecating version.","solutions":["Recompile the calling assembly against the current editor to expose CS0619, then migrate.","Replace with PlayerSettings.WSA.GetVisualAssetsImage(<matching WSAImageType>, <matching WSAImageScale>).","Remove storeTileLogo from reflective read loops; it is EditorBrowsableState.Never.","Version-gate unavoidable reflective access."],"exampleFix":"// before\nstring logo = PlayerSettings.WSA.storeTileLogo;\n\n// after\nstring logo = PlayerSettings.WSA.GetVisualAssetsImage(\n    WSAImageType.UWPSquare150x150Logo, WSAImageScale._100);","handlingStrategy":"fallback","validationCode":"static bool IsDeprecatedStoreTile(System.Reflection.PropertyInfo p)\n    => p.GetCustomAttributes(typeof(System.ObsoleteAttribute), false)\n         .Cast<System.ObsoleteAttribute>().Any(o => o.IsError);","typeGuard":null,"tryCatchPattern":"try { _ = PlayerSettings.WSA.storeTileLogo; }\ncatch (System.NotSupportedException)\n{\n    var logo = PlayerSettings.WSA.GetVisualAssetsImage(\n        WSAImageType.UWPSquare150x150Logo, WSAImageScale._100);\n}","preventionTips":["Read tile logos via GetVisualAssetsImage only.","Recompile editor code against the installed Unity to surface CS0619 at build time.","Skip EditorBrowsableState.Never properties during reflective sweeps.","Audit for 'storeTileLogo' references before each upgrade."],"tags":["unity","deprecated","obsolete","wsa","uwp","playersettings","editor-only","notsupported","removed-api"],"backgroundTag":null,"analyzedSha":"225b0fbdb57cc17d094e8056b71f8314aba56f73","analyzedAt":"2026-08-13T19:07:19.849Z","schemaVersion":2},"datasetVersion":"2026-08-13T19:17:28.613Z"}