{"record":{"id":"e3465c1dec7e994d","repo":"Unity-Technologies/UnityCsReference","slug":"playersettings-packagelogo240-is-deprecated-use-g","errorCode":null,"errorMessage":"PlayerSettings.packageLogo240 is deprecated. Use GetVisualAssetsImage() instead.","messagePattern":"PlayerSettings\\.packageLogo240 is deprecated\\. Use GetVisualAssetsImage\\(\\) instead\\.","errorType":"exception","errorClass":"NotSupportedException","httpStatus":null,"severity":"error","filePath":"Editor/Mono/PlayerSettingsWSA.cs","lineNumber":737,"sourceCode":"            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.\");\n                }\n            }\n\n            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]\n            [Obsolete(\"PlayerSettings.enableLowLatencyPresentationAPI is deprecated. It is now always enabled.\", true)]\n            public static bool enableLowLatencyPresentationAPI\n            {\n                get\n                {\n                    return true;\n                }\n                set\n                {\n                }","sourceCodeStart":719,"sourceCodeEnd":755,"githubUrl":"https://github.com/Unity-Technologies/UnityCsReference/blob/225b0fbdb57cc17d094e8056b71f8314aba56f73/Editor/Mono/PlayerSettingsWSA.cs#L719-L755","documentation":"PlayerSettings.WSA.packageLogo240 was a string property that retrieved the UWP package logo image path at 240% 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.packageLogo240 via reflection (PropertyInfo.GetValue), dynamic dispatch, or a legacy compiled assembly calling the getter.","commonSituations":"Editor tools that read and validate package logo configuration at high DPI scales. Legacy project inspection scripts. Plugins targeting pre-2018 Unity API.","solutions":["Replace the getter with PlayerSettings.WSA.GetVisualAssetsImage(WSAImageType.PackageLogo, WSAImageScale._240)","Migrate to UWP-supported scales (_100, _125, _150, _200, _400) since _240 is deprecated for UWP","Update reflection-based code to call the method API directly"],"exampleFix":"// before\nstring logo = PlayerSettings.WSA.packageLogo240;\n\n// after\nstring logo = PlayerSettings.WSA.GetVisualAssetsImage(WSAImageType.PackageLogo, WSAImageScale._200);","handlingStrategy":"validation","validationCode":"var prop = typeof(PlayerSettings.WSA).GetProperty(\"packageLogo240\");\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 _240 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"}