{"record":{"id":"20fc2ffecf6344d5","repo":"Unity-Technologies/UnityCsReference","slug":"playersettings-storelargetile140-is-deprecated-us-20fc2f","errorCode":null,"errorMessage":"PlayerSettings.storeLargeTile140 is deprecated. Use SetVisualAssetsImage() instead.","messagePattern":"PlayerSettings\\.storeLargeTile140 is deprecated\\. Use SetVisualAssetsImage\\(\\) instead\\.","errorType":"exception","errorClass":"NotSupportedException","httpStatus":null,"severity":"error","filePath":"Editor/Mono/PlayerSettingsWSA.cs","lineNumber":433,"sourceCode":"                    throw new NotSupportedException(\"PlayerSettings.storeLargeTile is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeLargeTile 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 storeLargeTile140\n            {\n                get\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeLargeTile140 is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeLargeTile140 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 storeLargeTile180\n            {\n                get\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeLargeTile180 is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeLargeTile180 is deprecated. Use SetVisualAssetsImage() instead.\");\n                }\n            }\n\n            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]","sourceCodeStart":415,"sourceCodeEnd":451,"githubUrl":"https://github.com/Unity-Technologies/UnityCsReference/blob/225b0fbdb57cc17d094e8056b71f8314aba56f73/Editor/Mono/PlayerSettingsWSA.cs#L415-L451","documentation":"PlayerSettings.WSA.storeLargeTile140 is a deprecated static property setter that always throws NotSupportedException. Unity replaced the legacy 140% large-tile image property with SetVisualAssetsImage(string, WSAImageType, WSAImageScale). It is [Obsolete(..., true)] and [EditorBrowsable(Never)].","triggerScenarios":"Assigning to PlayerSettings.WSA.storeLargeTile140 (the setter) in editor scripts, build automation, or post-processing. Usually encountered through reflection or stale API references.","commonSituations":"Migrating a UWP build pipeline from an older Unity version; CI scripts that set tile images at multiple scale factors; third-party tooling that hard-codes the old property name.","solutions":["Replace with PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.UWPSquare150x150Logo, WSAImageScale._150).","Migrate all storeLargeTile* scale variants together to avoid partial migration.","Update plugins to versions compatible with the current Unity API."],"exampleFix":"// before\nPlayerSettings.WSA.storeLargeTile140 = \"Assets/Icons/largeTile140.png\";\n\n// after\nPlayerSettings.WSA.SetVisualAssetsImage(\"Assets/Icons/largeTile140.png\", WSAImageType.UWPSquare150x150Logo, WSAImageScale._150);","handlingStrategy":"type-guard","validationCode":"// Use the new setter for ~140% scale\nPlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.UWPSquare150x150Logo, WSAImageScale._150);","typeGuard":"static 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":["Replace storeLargeTile140 assignments with SetVisualAssetsImage using WSAImageScale._150.","When reflecting on PlayerSettings.WSA, skip properties with [Obsolete(IsError=true)].","Keep third-party packages updated to versions supporting the current API."],"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"}