Skip to content

Build error due to discord icon #13

@webik150

Description

@webik150

When building (Unity 2022.3.16f1 and [email protected]), I encounter the following error:

An asset is marked with HideFlags.DontSave but is included in the build: Asset: 'Packages/com.lachee.discordrpc/Resources/discord_logo.png' Asset name: discord_logo (You are probably referencing internal Unity data in your build.)

I think the issue is that the icons folder is named Resources which is a special folder name meant for files automatically packaged with builds for runtime loading.

If I turn the package into a local package and rename the icons folder to "Icons", build finishes successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions