Home

Awesome

CI Status

Unity Patch

This repository contains a patch for Unity that allows you to set options inaccessible from the application's menus.

Currently, the only supported option for the patch is switching between the dark and light themes in Unity.

Usage

We provide binaries for Windows 10, Linux, and macOS. All compiled binaries are x64. See the release section. Alternatively, you can build the patch from source.

Run patcher.exe on windows, or alternatively Patcher on Linux or MacOS. By default, it will locate your Unity install at C:\Program Files\Unity\Editor\Unity.exe, which is obviously wrong for both Linux and macOS, and it will set your theme to dark.

You can pass various arguments to the patcher:

Depending on your system, looking up the offsets to patch can take a couple moments.

Unity Versions

The patcher supports multiple versions of Unity. Versions can be specified by passing the -v= or --version= command line argument.

For instance, if you want to patch Unity version 2020.1 on Windows, you'd run:

patcher.exe --windows --version=2020.1 --t=dark

Currently, the following OS and Unity version combinations are supported:

WindowsMacOSLinux
2020.2a:x::white_check_mark::white_check_mark:
2020.1b:white_check_mark::white_check_mark::white_check_mark:
2019.4:white_check_mark::white_check_mark::white_check_mark:
2019.3:white_check_mark::white_check_mark::white_check_mark:
2019.2:white_check_mark::white_check_mark::white_check_mark:
2019.1:x::white_check_mark::white_check_mark:
2018.4:white_check_mark::white_check_mark::white_check_mark:
2018.3:white_check_mark::x::x:
2018.2:white_check_mark::x::x:

If you don't specify a version, the patcher will select the most recent version for your operating system.

Troubleshooting

To get the highest chance of success, you should always run the patch on a clean install of Unity. If that doesn't work, you can try:

Issues

If the patcher doesn't work, please let us know by opening an issue, and provide as much details as you can. We provide some issue templates for common issues - please use them when applicable. They help us resolve issues faster.

Linux and MacOS

When running the patcher on Linux or MacOS, be sure to run the respective binaries for your operating system. They are located in osx-x64 for Mac, and linux-x64 for Linux.

For example, on Linux you would run:

sudo ./linux-x64/Patcher -e=/path/to/Unity --t=dark --linux

or on Mac:

sudo ./osx-64/Patcher -e=/Applications/Unity/Hub/Editor/<VERSION>/Unity.app/Contents/MacOS/Unity --mac --t=dark