{"record":{"id":"f6267f883fae6e16","repo":"Unity-Technologies/UnityCsReference","slug":"playersettings-storesplashscreenimage-is-deprecate-f6267f","errorCode":null,"errorMessage":"PlayerSettings.storeSplashScreenImage is deprecated. Use SetVisualAssetsImage() instead.","messagePattern":"PlayerSettings\\.storeSplashScreenImage is deprecated\\. Use SetVisualAssetsImage\\(\\) instead\\.","errorType":"exception","errorClass":"NotSupportedException","httpStatus":null,"severity":"error","filePath":"Editor/Mono/PlayerSettingsWSA.cs","lineNumber":461,"sourceCode":"                    throw new NotSupportedException(\"PlayerSettings.storeLargeTile180 is deprecated. Use GetVisualAssetsImage() instead.\");\n                }\n                set\n                {\n                    throw new NotSupportedException(\"PlayerSettings.storeLargeTile180 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 storeSplashScreenImage\n            {\n                get\n                {\n                    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)]","sourceCodeStart":443,"sourceCodeEnd":479,"githubUrl":"https://github.com/Unity-Technologies/UnityCsReference/blob/225b0fbdb57cc17d094e8056b71f8314aba56f73/Editor/Mono/PlayerSettingsWSA.cs#L443-L479","documentation":"PlayerSettings.WSA.storeSplashScreenImage is a deprecated static property setter that always throws NotSupportedException. The base-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.storeSplashScreenImage (the setter) in editor scripts, build automation, or post-processing. Usually reached via reflection or code targeting a deprecated API surface.","commonSituations":"Upgrading from Unity 5.x/2017 to a newer version; CI scripts that set the UWP splash screen image; third-party build tools that hard-code old property names.","solutions":["Replace with PlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.SplashScreenImage, WSAImageScale._100).","Migrate all storeSplashScreenImage* scale variants at the same time.","Update plugins to versions targeting the current Unity API."],"exampleFix":"// before\nPlayerSettings.WSA.storeSplashScreenImage = \"Assets/Icons/splash.png\";\n\n// after\nPlayerSettings.WSA.SetVisualAssetsImage(\"Assets/Icons/splash.png\", WSAImageType.SplashScreenImage, WSAImageScale._100);","handlingStrategy":"type-guard","validationCode":"// Use the new setter for splash screen at base scale\nPlayerSettings.WSA.SetVisualAssetsImage(path, WSAImageType.SplashScreenImage, WSAImageScale._100);","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 storeSplashScreenImage assignments with SetVisualAssetsImage.","Maintain a legacy-to-new mapping for all splash screen scale variants.","Update plugins after Unity version bumps."],"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"}