Skip to content

Unintended package.meta in Package Root Causes Persistent Unity Warnings #18

Closed

Description

@somethingSTRANGE

I'm using the latest version of the package (1.8.8) and I'm getting a pair of console warnings every time Unity recompiles scripts:

  1. A meta data file (.meta) exists but its asset 'Packages/com.needle.compilation-visualizer/package' can't be found. When moving or deleting files outside of Unity, please ensure that the corresponding .meta file is moved or deleted along with it.

  2. Couldn't delete Packages/com.needle.compilation-visualizer/package.meta because it's in an immutable folder.

These warnings repeat on every domain reload.

The root of the GitHub repo (and the final published UPM package) includes a package.meta file, but there is no corresponding package file or folder. Unity only generates .meta files for actual assets, so this appears to be an unintended file included in the package. Because the package cache is read‑only, Unity cannot remove the stray package.meta, which results in the repeated warnings shown above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions