{"record":{"id":"095522b667023fec","repo":"Unity-Technologies/UnityCsReference","slug":"playersettings-packagelogo180-is-deprecated-use-g","errorCode":null,"errorMessage":"PlayerSettings.packageLogo180 is deprecated. Use GetVisualAssetsImage() instead.","messagePattern":"PlayerSettings\\.packageLogo180 is deprecated\\. Use GetVisualAssetsImage\\(\\) instead\\.","errorType":"exception","errorClass":"NotSupportedException","httpStatus":null,"severity":"error","filePath":"Editor/Mono/PlayerSettingsWSA.cs","lineNumber":723,"sourceCode":"            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)]\n            [Obsolete(\"Use GetVisualAssetsImage()/SetVisualAssetsImage()\", true)]\n            public static string packageLogo240\n            {\n                get\n                {\n                    throw new NotSupportedException(\"PlayerSettings.packageLogo240 is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.packageLogo240 is deprecated. Use SetVisualAssetsImage() instead.\");","sourceCodeStart":705,"sourceCodeEnd":741,"githubUrl":"https://github.com/Unity-Technologies/UnityCsReference/blob/225b0fbdb57cc17d094e8056b71f8314aba56f73/Editor/Mono/PlayerSettingsWSA.cs#L705-L741","documentation":"PlayerSettings.WSA.packageLogo180 was a string property that retrieved the UWP package logo image path at 180% scale. Unity replaced all per-scale visual asset getters with GetVisualAssetsImage(WSAImageType, WSAImageScale). The [Obsolete(..., true)] attribute blocks direct compilation; the NotSupportedException fires for reflection-based reads.","triggerScenarios":"Reading PlayerSettings.WSA.packageLogo180 via reflection (PropertyInfo.GetValue), dynamic dispatch, or a legacy compiled assembly calling the getter.","commonSituations":"Editor tools inspecting configured package logos at various DPI scales. Legacy settings validation scripts. Plugins built against older Unity API surfaces.","solutions":["Replace the getter with PlayerSettings.WSA.GetVisualAssetsImage(WSAImageType.PackageLogo, WSAImageScale._180)","Migrate to UWP-supported scales (_100, _125, _150, _200, _400) since _180 is deprecated for UWP","Update reflection-based code to call the method API directly"],"exampleFix":"// before\nstring logo = PlayerSettings.WSA.packageLogo180;\n\n// after\nstring logo = PlayerSettings.WSA.GetVisualAssetsImage(WSAImageType.PackageLogo, WSAImageScale._200);","handlingStrategy":"validation","validationCode":"var prop = typeof(PlayerSettings.WSA).GetProperty(\"packageLogo180\");\nif (prop?.GetCustomAttribute<System.ObsoleteAttribute>()?.IsError == true)\n    Debug.LogError(\"Property is obsolete. Use GetVisualAssetsImage() instead.\");","typeGuard":null,"tryCatchPattern":"try { /* deprecated getter via reflection */ }\ncatch (NotSupportedException ex) when (ex.Message.Contains(\"GetVisualAssetsImage\"))\n{ Debug.LogError(\"Migrate to GetVisualAssetsImage().\"); }","preventionTips":["Use GetVisualAssetsImage(WSAImageType.PackageLogo, scale) for all logo reads","Migrate _180 scale to _200 for UWP compatibility"],"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"}