Skip to content

Orphan and missing .meta files cause Unity warnings #86

@CharlieHess

Description

@CharlieHess

After installing mcp-unity via Package Manager (git URL), the Unity console shows warnings about meta file mismatches at the package root level.

Environment:

  • Unity 6
  • macOS (Apple Silicon)
  • mcp-unity installed via git URL

Warnings:

A meta data file (.meta) exists but its asset 'Packages/com.gamelovers.mcp-unity/package-lock.json' can't be found.

Couldn't delete Packages/com.gamelovers.mcp-unity/package-lock.json.meta because it's in an immutable folder.

Asset Packages/com.gamelovers.mcp-unity/server.json has no meta file, but it's in an immutable folder. The asset will be ignored.

Root Cause:

The package root contains:

  1. package-lock.json.meta — but no corresponding package-lock.json (the actual file is inside Server~/)
  2. server.json — but no corresponding server.json.meta

Suggested Fix:

  • Remove package-lock.json.meta from the package root (it's orphaned)
  • Add server.json.meta to the package root

These are cosmetic warnings and don't affect functionality, but they clutter the console on every domain reload.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions