{"record":{"id":"648143b642e9e245","repo":"Unity-Technologies/UnityCsReference","slug":"playersettings-phonesplashscreenimagescale140-is-d-648143","errorCode":null,"errorMessage":"PlayerSettings.phoneSplashScreenImageScale140 is deprecated. Use SetVisualAssetsImage() instead.","messagePattern":"PlayerSettings\\.phoneSplashScreenImageScale140 is deprecated\\. Use SetVisualAssetsImage\\(\\) instead\\.","errorType":"exception","errorClass":"NotSupportedException","httpStatus":null,"severity":"error","filePath":"Editor/Mono/PlayerSettingsWSA.cs","lineNumber":685,"sourceCode":"                    throw new NotSupportedException(\"PlayerSettings.phoneSplashScreenImage is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.phoneSplashScreenImage 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 phoneSplashScreenImageScale140\n            {\n                get\n                {\n                    throw new NotSupportedException(\"PlayerSettings.phoneSplashScreenImageScale140 is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.phoneSplashScreenImageScale140 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 phoneSplashScreenImageScale240\n            {\n                get\n                {\n                    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)]","sourceCodeStart":667,"sourceCodeEnd":703,"githubUrl":"https://github.com/Unity-Technologies/UnityCsReference/blob/225b0fbdb57cc17d094e8056b71f8314aba56f73/Editor/Mono/PlayerSettingsWSA.cs#L667-L703","documentation":"PlayerSettings.WSA.phoneSplashScreenImageScale140 was a string property whose setter assigned the Windows Phone splash screen image at 140% DPI scale. Unity unified all WSA 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.phoneSplashScreenImageScale140 through reflection, dynamic keyword, or a pre-compiled plugin DLL.","commonSituations":"Build automation that configures WSA splash screen assets at multiple DPI scales for Windows Phone. Project migration scripts that copy settings from older Unity versions. Third-party deployment tools.","solutions":["Replace the setter with PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.SplashScreenImage, WSAImageScale._140)","Migrate to UWP-supported scales (_100, _125, _150, _200) since _140 is deprecated for UWP","Recompile all editor scripts to surface remaining [Obsolete] errors and fix them"],"exampleFix":"// before\nPlayerSettings.WSA.phoneSplashScreenImageScale140 = \"Assets/Splash/splash140.png\";\n\n// after\nPlayerSettings.WSA.SetVisualAssetsImage(\"Assets/Splash/splash.png\", WSAImageType.SplashScreenImage, WSAImageScale._150);","handlingStrategy":"validation","validationCode":"var prop = typeof(PlayerSettings.WSA).GetProperty(\"phoneSplashScreenImageScale140\");\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 per-scale WSA image setters with SetVisualAssetsImage before Unity upgrade","Audit third-party plugin DLLs for references to deprecated WSA properties"],"tags":["unity","wsa","uwp","deprecated","editor-scripting","playersettings","splashscreen"],"backgroundTag":null,"analyzedSha":"225b0fbdb57cc17d094e8056b71f8314aba56f73","analyzedAt":"2026-08-13T19:07:19.849Z","schemaVersion":2},"datasetVersion":"2026-08-13T19:17:28.613Z"}