{"record":{"id":"9eb84e1a6db66ce1","repo":"Unity-Technologies/UnityCsReference","slug":"playersettings-storetilelogo140-is-deprecated-use-9eb84e","errorCode":null,"errorMessage":"PlayerSettings.storeTileLogo140 is deprecated. Use SetVisualAssetsImage() instead.","messagePattern":"PlayerSettings\\.storeTileLogo140 is deprecated\\. Use SetVisualAssetsImage\\(\\) instead\\.","errorType":"exception","errorClass":"NotSupportedException","httpStatus":null,"severity":"error","filePath":"Editor/Mono/PlayerSettingsWSA.cs","lineNumber":209,"sourceCode":"                    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.\");\n                }\n            }\n\n            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]\n            [Obsolete(\"Use GetVisualAssetsImage()/SetVisualAssetsImage()\", true)]\n            public static string storeTileLogo180\n            {\n                get\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeTileLogo180 is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeTileLogo180 is deprecated. Use SetVisualAssetsImage() instead.\");\n                }\n            }\n\n            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]","sourceCodeStart":191,"sourceCodeEnd":227,"githubUrl":"https://github.com/Unity-Technologies/UnityCsReference/blob/225b0fbdb57cc17d094e8056b71f8314aba56f73/Editor/Mono/PlayerSettingsWSA.cs#L191-L227","documentation":"Writing PlayerSettings.WSA.storeTileLogo140 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 is reached only via reflection, dynamic, or a pre-compiled assembly. Migrate to SetVisualAssetsImage(image, WSAImageType, WSAImageScale).","triggerScenarios":"Reflective SetValue on storeTileLogo140, a stale DLL assigning it, or C# dynamic assignment. Direct assignment in current source does not compile.","commonSituations":"Legacy plugin or build automation compiled before the deprecation. Reflective write loops over PlayerSettings.WSA. Upgrading a project across the obsoleting Unity version.","solutions":["Recompile the assembly against the current editor to surface CS0619 and migrate.","Replace with PlayerSettings.WSA.SetVisualAssetsImage(path, <WSAImageType>, <WSAImageScale>).","Drop storeTileLogo140 from reflective write loops; honor EditorBrowsableState.Never.","Version-gate reflective access on the obsoleting release."],"exampleFix":"// before\nPlayerSettings.WSA.storeTileLogo140 = \"Assets/Logos/tile140.png\";\n\n// after\nPlayerSettings.WSA.SetVisualAssetsImage(\"Assets/Logos/tile140.png\",\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.storeTileLogo140 = path; }\ncatch (System.NotSupportedException)\n{\n    PlayerSettings.WSA.SetVisualAssetsImage(path,\n        WSAImageType.UWPSquare150x150Logo, WSAImageScale._100);\n}","preventionTips":["Write tile logos through SetVisualAssetsImage only.","Recompile against the current editor to get CS0619 at compile time.","Exclude storeTileLogo140 from reflective write loops.","Grep for 'storeTileLogo140' before upgrading."],"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"}