[BUG] Your editor resources end up in game builds

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15762
    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 DesignEditorResources 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.

      #15763
      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.