Hey there!
In Unity 2020, you could set the default icon in the Project Settings with this code:
`PlayerSettings.SetIconsForTargetGroup(BuildTargetGroup.Unknown, new Texture2D[] {defaultIcon});`
However, in Unity 2021, `PlayerSettings.SetIconsForTargetGroup` is marked as deprecated and it's recommended to use the `PlayerSettings.SetIcons` method. But that doesn't seem to be having the desired effect. Trying to set the icon for `Build.NamedBuildTarget.Unknown` just results in a console error and setting for any other platform doesn't change the icon shown in Project Settings.
Does anyone know how to do this now in Unity 2021?
Thanks!
↧