{"record":{"id":"f7a1e6deb6dfd77b","repo":"Unity-Technologies/UnityCsReference","slug":"playersettings-packagelogo140-is-deprecated-use-s","errorCode":null,"errorMessage":"PlayerSettings.packageLogo140 is deprecated. Use SetVisualAssetsImage() instead.","messagePattern":"PlayerSettings\\.packageLogo140 is deprecated\\. Use SetVisualAssetsImage\\(\\) instead\\.","errorType":"exception","errorClass":"NotSupportedException","httpStatus":null,"severity":"error","filePath":"Editor/Mono/PlayerSettingsWSA.cs","lineNumber":713,"sourceCode":"                    throw new NotSupportedException(\"PlayerSettings.phoneSplashScreenImageScale240 is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.phoneSplashScreenImageScale240 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 packageLogo140\n            {\n                get\n                {\n                    throw new NotSupportedException(\"PlayerSettings.packageLogo140 is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.packageLogo140 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 packageLogo180\n            {\n                get\n                {\n                    throw new NotSupportedException(\"PlayerSettings.packageLogo180 is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.packageLogo180 is deprecated. Use SetVisualAssetsImage() instead.\");\n                }\n            }\n\n            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]","sourceCodeStart":695,"sourceCodeEnd":731,"githubUrl":"https://github.com/Unity-Technologies/UnityCsReference/blob/225b0fbdb57cc17d094e8056b71f8314aba56f73/Editor/Mono/PlayerSettingsWSA.cs#L695-L731","documentation":"PlayerSettings.WSA.packageLogo140 was a string property whose setter assigned the UWP package logo image at 140% scale. Unity unified all per-scale visual asset setters into SetVisualAssetsImage(image, WSAImageType, WSAImageScale). The [Obsolete(..., true)] flag makes direct usage a compile error; the runtime NotSupportedException catches reflection-based writes.","triggerScenarios":"Assigning to PlayerSettings.WSA.packageLogo140 through reflection, dynamic keyword, or a pre-compiled plugin DLL.","commonSituations":"Build automation configuring the UWP package logo at multiple DPI scales. Project migration scripts from pre-2018 Unity. Third-party store deployment tools.","solutions":["Replace the setter with PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.PackageLogo, WSAImageScale._140)","Migrate to UWP-supported scales (_100, _125, _150, _200) since _140 is deprecated for UWP","Recompile all editor scripts and fix remaining [Obsolete] errors"],"exampleFix":"// before\nPlayerSettings.WSA.packageLogo140 = \"Assets/Logos/logo140.png\";\n\n// after\nPlayerSettings.WSA.SetVisualAssetsImage(\"Assets/Logos/logo.png\", WSAImageType.PackageLogo, WSAImageScale._150);","handlingStrategy":"validation","validationCode":"var prop = typeof(PlayerSettings.WSA).GetProperty(\"packageLogo140\");\nif (prop?.GetCustomAttribute<System.ObsoleteAttribute>()?.IsError == true)\n    Debug.LogError(\"Property is obsolete. Use SetVisualAssetsImage() instead.\");","typeGuard":null,"tryCatchPattern":"try { /* deprecated setter via reflection */ }\ncatch (NotSupportedException ex) when (ex.Message.Contains(\"SetVisualAssetsImage\"))\n{ Debug.LogError(\"Migrate to SetVisualAssetsImage().\"); }","preventionTips":["Replace all packageLogo setters with SetVisualAssetsImage(path, WSAImageType.PackageLogo, scale)","Use UWP scales instead of deprecated _140"],"tags":["unity","wsa","uwp","deprecated","editor-scripting","playersettings","packagelogo"],"backgroundTag":null,"analyzedSha":"225b0fbdb57cc17d094e8056b71f8314aba56f73","analyzedAt":"2026-08-13T19:07:19.849Z","schemaVersion":2},"datasetVersion":"2026-08-13T19:17:28.613Z"}