Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity 2018 LTS Android Icons

Discussion in 'Android' started by mleesago, Aug 8, 2019.

  1. mleesago

    mleesago

    Joined:
    Jan 18, 2017
    Posts:
    10
    We are currently using Unity 2018.4.2f1 and Android builds are displaying Unity's default icon. We place icons inside Assets/Plugins/Android/res folder with all appropriate icon resolutions (drawable, drawable-anydpi-v26, drawable-hdpi, drawable-ldpi, drawable-xhdpi, drawable-xxhdpi, drawable-xxxhdpi). When a final build, APK file, is decompressed we can see res/mipmap-mdpi folder and it has a default Unity icon placed inside it. This behaviour is not reproduced if we set icons inside the editor for Android Player Settings. And also it is replacing @drawable/app_icon to @Mipmap/app_icon in the final AndroidManifest.

    My question is, is this an expected behaviour? Is Unity now forcing use of PlayerSettings in the editor to set icons? Is there a workaround for the editor to not generate the mipmap-mdpi icon resource and not replace @drawable/app_icon in the final build output?