{"record":{"id":"1e66f617367e0913","repo":"Unity-Technologies/UnityCsReference","slug":"playersettings-storesplashscreenimagescale140-is-d-1e66f6","errorCode":null,"errorMessage":"PlayerSettings.storeSplashScreenImageScale140 is deprecated. Use SetVisualAssetsImage() instead.","messagePattern":"PlayerSettings\\.storeSplashScreenImageScale140 is deprecated\\. Use SetVisualAssetsImage\\(\\) instead\\.","errorType":"exception","errorClass":"NotSupportedException","httpStatus":null,"severity":"error","filePath":"Editor/Mono/PlayerSettingsWSA.cs","lineNumber":475,"sourceCode":"                    throw new NotSupportedException(\"PlayerSettings.storeSplashScreenImage is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeSplashScreenImage 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 storeSplashScreenImageScale140\n            {\n                get\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeSplashScreenImageScale140 is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeSplashScreenImageScale140 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 storeSplashScreenImageScale180\n            {\n                get\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeSplashScreenImageScale180 is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeSplashScreenImageScale180 is deprecated. Use SetVisualAssetsImage() instead.\");\n                }\n            }\n\n            [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]","sourceCodeStart":457,"sourceCodeEnd":493,"githubUrl":"https://github.com/Unity-Technologies/UnityCsReference/blob/225b0fbdb57cc17d094e8056b71f8314aba56f73/Editor/Mono/PlayerSettingsWSA.cs#L457-L493","documentation":"PlayerSettings.WSA.storeSplashScreenImageScale140 is a deprecated static property setter that always throws NotSupportedException. The 140% scale splash screen image assignment was replaced by SetVisualAssetsImage(string, WSAImageType, WSAImageScale) with type WSAImageType.SplashScreenImage. It is [Obsolete(..., true)] and [EditorBrowsable(Never)].","triggerScenarios":"Assigning to PlayerSettings.WSA.storeSplashScreenImageScale140 (the setter) in editor scripts, build pipelines, or post-processing. Encountered most through reflection-based code or stale API references.","commonSituations":"Migrating a UWP build pipeline from an older Unity version; CI scripts that set splash screen images at multiple scales; third-party packages with stale property references.","solutions":["Replace with PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.SplashScreenImage, WSAImageScale._150).","Migrate all storeSplashScreenImage* variants at once.","Replace stale plugin DLLs with versions compatible with the current Unity API."],"exampleFix":"// before\nPlayerSettings.WSA.storeSplashScreenImageScale140 = \"Assets/Icons/splash140.png\";\n\n// after\nPlayerSettings.WSA.SetVisualAssetsImage(\"Assets/Icons/splash140.png\", WSAImageType.SplashScreenImage, WSAImageScale._150);","handlingStrategy":"type-guard","validationCode":"// Use the new setter for splash screen at ~140% scale\nPlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.SplashScreenImage, 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 storeSplashScreenImageScale140 assignments with SetVisualAssetsImage using WSAImageScale._150.","Audit imported packages for stale splash screen property references.","Use the unified API for all splash screen scale variants."],"tags":["unity","uwp","wsa","deprecation","player-settings","splash-screen"],"backgroundTag":null,"analyzedSha":"225b0fbdb57cc17d094e8056b71f8314aba56f73","analyzedAt":"2026-08-13T19:07:19.849Z","schemaVersion":2},"datasetVersion":"2026-08-13T19:17:28.613Z"}