{"record":{"id":"0c14afe214896a8c","repo":"Unity-Technologies/UnityCsReference","slug":"playersettings-storesmalltile180-is-deprecated-us-0c14af","errorCode":null,"errorMessage":"PlayerSettings.storeSmallTile180 is deprecated. Use SetVisualAssetsImage() instead.","messagePattern":"PlayerSettings\\.storeSmallTile180 is deprecated\\. Use SetVisualAssetsImage\\(\\) instead\\.","errorType":"exception","errorClass":"NotSupportedException","httpStatus":null,"severity":"error","filePath":"Editor/Mono/PlayerSettingsWSA.cs","lineNumber":391,"sourceCode":"                    throw new NotSupportedException(\"PlayerSettings.storeSmallTile140 is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeSmallTile140 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 storeSmallTile180\n            {\n                get\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeSmallTile180 is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeSmallTile180 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 storeLargeTile80\n            {\n                get\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeLargeTile80 is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeLargeTile80 is deprecated. Use SetVisualAssetsImage() instead.\");\n                }\n            }\n\n            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]","sourceCodeStart":373,"sourceCodeEnd":409,"githubUrl":"https://github.com/Unity-Technologies/UnityCsReference/blob/225b0fbdb57cc17d094e8056b71f8314aba56f73/Editor/Mono/PlayerSettingsWSA.cs#L373-L409","documentation":"PlayerSettings.WSA.storeSmallTile180 is a deprecated static property setter that always throws NotSupportedException. Unity retired the per-scale-factor string properties (from the Windows 8.1 era) in favor of a unified GetVisualAssetsImage(WSAImageType, WSAImageScale) / SetVisualAssetsImage(string, WSAImageType, WSAImageScale) API that covers all UWP image assets. The property is also marked [Obsolete(..., true)] making it a compile error, and [EditorBrowsable(Never)] hiding it from IntelliSense.","triggerScenarios":"Assigning a value to PlayerSettings.WSA.storeSmallTile180 (the setter) in any editor script, build pipeline, or post-processing code. Because [Obsolete(..., true)] turns direct calls into compile errors, this is most often hit via reflection (e.g. SerializedObject/SerializedProperty paths, or scripts compiled against an older Unity API surface that resolved to this member).","commonSituations":"Upgrading a project from Unity 5.x / Windows 8.1 era to a modern Unity version that only ships the UWP image API; using third-party editor tooling or asset-store plugins that reference the old property names; CI build scripts that set WSA tile images programmatically.","solutions":["Replace the assignment with PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.UWPSquare71x71Logo, WSAImageScale._200) — the 180% legacy scale maps closest to the UWP _200 scale.","If compiling against an older API that lacks the new methods, bump the Unity editor version requirement in the project or plugin.","Search the codebase (including DLL references) for 'storeSmallTile180' and migrate all call sites at once."],"exampleFix":"// before\nPlayerSettings.WSA.storeSmallTile180 = \"Assets/Icons/smallTile.png\";\n\n// after\nPlayerSettings.WSA.SetVisualAssetsImage(\"Assets/Icons/smallTile.png\", WSAImageType.UWPSquare71x71Logo, WSAImageScale._200);","handlingStrategy":"type-guard","validationCode":"// Before accessing, verify the property still exists and prefer the new API:\n// Check Unity version to gate the code path\n#if !UNITY_5 && !UNITY_2017 // old API removed in newer versions\n    PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.UWPSquare71x71Logo, WSAImageScale._200);\n#endif","typeGuard":"// Type-check via reflection before invoking, to avoid NotSupportedException\nstatic bool IsDeprecatedWsaProperty(string name) =>\n    typeof(PlayerSettings.WSA)\n        .GetProperty(name,\n            System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static)\n        ?.GetCustomAttribute<ObsoleteAttribute>()?.IsError == true;","tryCatchPattern":null,"preventionTips":["Never reference storeSmallTile180 or any store*Tile* property directly — use SetVisualAssetsImage/GetVisualAssetsImage with explicit WSAImageType and WSAImageScale.","When upgrading Unity, run a full-text search for 'PlayerSettings.WSA.store' to find all deprecated references.","Keep editor build scripts version-gated with #if preprocessor directives when supporting multiple Unity versions."],"tags":["unity","uwp","wsa","deprecation","player-settings","visual-assets"],"backgroundTag":null,"analyzedSha":"225b0fbdb57cc17d094e8056b71f8314aba56f73","analyzedAt":"2026-08-13T19:07:19.849Z","schemaVersion":2},"datasetVersion":"2026-08-13T19:17:28.613Z"}