Search Unity

Bug MonoBehaviour script with custom icon prevents build

Discussion in 'Editor & General Support' started by schaefsky, Mar 4, 2023.

  1. schaefsky

    schaefsky

    Joined:
    Aug 11, 2013
    Posts:
    90
    So I am using an asset from the store, that can not be build with 2022.2.7f1
    upload_2023-3-4_22-32-0.png
    As far as I understand it those .PNGs are located in editor folders and are usually displayed by some internal Unity magic as a custom icon for scripts of the same name, and also as Gizmo icons.
    They seem to never be referenced anywhere directly, and HideFlags seem to never be set on them.
    When trying to build for Windows Intel 64-bit I get those error messages.
    Only solution I found was deleting the PNGs.
     
    heartingNinja likes this.