[BUG] Your editor resources end up in game builds

NodeCanvas Forums Support [BUG] Your editor resources end up in game builds

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16065
    xtro
    Participant

    Hello.

    I use NodeCanvas in my projects and I love it but recently I noticed a problem.

    Since you keep some icon files in Design\Editor\Resources folders, these files end up in Game builds because Unity includes all assets in Resources folders without a reference check.

    3rd party tools should not include a Resources folder for editor-only files such as UI icons.

    Here is the screenshot of a built-assets analysis which shows that your editor related icons end up in the Game build.

    Attachments:
    You must be logged in to view attached files.
    #16067
    xtro
    Participant

    Sorry, false alarm.

    I checked the build log and saw that resource files in Editor folders aren’t included in the build.

    The screenshot above is from official Addressables package from Unity. I’ll report a bug to Unity.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.