Stop package from recompiling

Hiya,

I’ve added 2 packages to my unity project which are hosted on Github (via the scoped registeries).

I need to make a couple of changes to the scripts, but when Unity detects a change to the package, it auto updates it and removes my changes.

How can I stop Unity updating specific packages?

Thanks,
Laurien

Hey!

There’s no way to do what I’m afraid. Unity considers a git package as immutable.

A workaround is to clone your package somewhere on your computer and add it to your project as a “local package” (i.e. with the feature “Add from disk…”), which is considered mutable.

That’s great to know, thanks!