Install Odin Inspector as a Unity package


If desirable, you can install Odin in your project as a Unity package. Some advantages of this are that you can have Odin installed at just one location on your computer and leave you with less clutter in your project.

You can follow the steps below to install Odin through the package manager successfully:

Installing Odin from a GIT repository is currently not officially supported because the repository will be read only and therefore the assembly upgrader is not run.

  1. Make a folder anywhere that is outside the Assets folder, and create a package.json file inside it:
{
    "name": "odininspector",
    "displayName": "OdinInspector",
    "version": "2.0.20",
    "unity": "2018.3",
    "description": "Odin puts your Unity workflow on steroids, making it easy to build powerful and advanced user-friendly editors for you and your entire team. With an effortless integration that deploys perfectly into pre-existing workflows, Odin allows you to serialize anything and enjoy Unity with 80+ new inspector attributes, no boilerplate code and so much more!",
    "keywords": [
    ],
    "category": "Unity"
}
  1. Copy over the Sirenix folder and put that in there as well.

  2. Open the package manager and find the Add Package From Disk button. (The plus button at the top left of the package manager window.)

When installing Odin this way keep in mind that different projects using different Unity versions will each need separate folders.

Each Unity version will run the assembly upgrader when loading the Odin package and this will, therefore, cause issues if the package is shared between different Unity versions.