{"id":35038315,"url":"https://github.com/jwillikers/unity-single-instance-fix","last_synced_at":"2026-05-02T11:37:18.077Z","repository":{"id":316467023,"uuid":"1063508759","full_name":"jwillikers/unity-single-instance-fix","owner":"jwillikers","description":"A fix for the Unity single instance issue on Linux that effects old Unity games.","archived":false,"fork":false,"pushed_at":"2025-09-24T19:08:00.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T19:18:11.847Z","etag":null,"topics":["linux","unity"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jwillikers.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.adoc","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-24T18:12:17.000Z","updated_at":"2025-09-25T14:49:09.000Z","dependencies_parsed_at":"2025-09-24T20:25:26.814Z","dependency_job_id":"6f0d6cbd-7a95-4491-bb7b-37e25ce3d9ed","html_url":"https://github.com/jwillikers/unity-single-instance-fix","commit_stats":null,"previous_names":["jwillikers/unity-single-instance-fix"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jwillikers/unity-single-instance-fix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwillikers%2Funity-single-instance-fix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwillikers%2Funity-single-instance-fix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwillikers%2Funity-single-instance-fix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwillikers%2Funity-single-instance-fix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwillikers","download_url":"https://codeload.github.com/jwillikers/unity-single-instance-fix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwillikers%2Funity-single-instance-fix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28075708,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-27T02:00:05.897Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linux","unity"],"created_at":"2025-12-27T08:05:11.935Z","updated_at":"2025-12-27T08:05:38.488Z","avatar_url":"https://github.com/jwillikers.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Unity Single Instance Fix\nJordan Williams \u003cjordan@jwillikers.com\u003e\n:experimental:\n:icons: font\nifdef::env-github[]\n:tip-caption: :bulb:\n:note-caption: :information_source:\n:important-caption: :heavy_exclamation_mark:\n:caution-caption: :fire:\n:warning-caption: :warning:\nendif::[]\n:Fix-for-old-Unity-games-for-Linux-not-starting-anymore: https://ein-eike.de/2025/06/05/fix-for-old-unity-games-for-linux-not-starting-anymore/[Fix for old Unity games for Linux not starting anymore]\n\nimage:https://github.com/jwillikers/unity-single-instance-fix/actions/workflows/build.yaml/badge.svg[CI, link=https://github.com/jwillikers/unity-single-instance-fix/actions/workflows/build.yaml]\n\nA fix for the Unity single instance issue on Linux that effects old Unity games.\nThe problem and fix are documented in Eike Sauer's blog post  {Fix-for-old-Unity-games-for-Linux-not-starting-anymore}.\nThis repository just provides prebuilt binaries for the fix so that you don't have to compile them yourself.\n\n== Usage\n\nThis project provides binaries built via GitHub Actions which can be downloaded from the https://github.com/jwillikers/unity-single-instance-fix/releases/[Releases page].\n\n. Download the shared library for the required architecture.\nThis command downloads the `x86_64` build of the library from the latest release.\nThere are also `x86` and `aarch64` builds.\n+\n[,sh]\n----\ncurl --location --remote-name https://github.com/jwillikers/unity-single-instance-fix/releases/latest/download/libunity-single-instance-fix-x86_64.so\n----\n\n. Add the shared library to `LD_PRELOAD` path when running the game.\n+\nCommand-line::\n+\n[,sh]\n----\nLD_PRELOAD=/path/to/libunity-single-instance-fix-x86_64.so ./game.x86_64\n----\n\nSteam launch command::\n+\n[,sh]\n----\nLD_PRELOAD=/path/to/libunity-single-instance-fix-x86_64.so %command%\n----\n\n== Develop\n\nFor compatibility with glibc, the GitHub Actions builds use the oldest supported Linux runners.\nFor development, Nix is used for reproducibility.\nhttps://nixos.org/[Nix] is used to manage all of the necessary dependencies.\nThe `nix develop` command can be used to enter or run commands in an environment with all of the necessary dependencies.\nFor convenience, direnv can be used to automatically load this environment when entering the project's directory.\nThe https://marketplace.visualstudio.com/items?itemName=mkhl.direnv[mkhl.direnv VSCode extension] integrates this environment in VSCode for development.\nNix also generates the configuration for https://pre-commit.com/[pre-commit], which automates formatting and various checks when committing changes.\n\n. Install an implementation of Nix, such as https://lix.systems[Lix] used here.\n+\n[,sh]\n----\ncurl -sSf -L https://install.lix.systems/lix | sh -s -- install\n----\n\n. Clone the source code of this repository locally.\n+\n[,sh]\n----\ngit clone https://github.com/jwillikers/unity-single-instance-fix.git\n----\n\n. Then change into the project directory.\n+\n[,sh]\n----\ncd unity-single-instance-fix\n----\n\n. Install direnv for your system according to the https://direnv.net/docs/installation.html[direnv installation instructions].\n+\n[,sh]\n----\nsudo rpm-ostree install direnv\nsudo systemctl reboot\n----\n\n. Integrate direnv with your shell by following the instructions on the https://direnv.net/docs/hook.html[direnv Setup page].\n\n. Permit the direnv configuration in the repository.\n+\n[,sh]\n----\ndirenv allow\n----\n\n. Build the shared library with Nix or the https://just.systems/[just] command runner.\n+\nNix::\n+\n[,sh]\n----\nnix build\n----\n\njust::\n+\n[,sh]\n----\njust\n----\n\n== Contributing\n\nContributions in the form of issues, feedback, and even pull requests are welcome.\nMake sure to adhere to the project's link:CODE_OF_CONDUCT.adoc[Code of Conduct].\n\n== Open Source Software\n\nThis project is built on the hard work of countless open source contributors.\nSeveral of these projects are enumerated below.\n\n* https://asciidoctor.org/[Asciidoctor]\n* https://clang.llvm.org/extra/clang-tidy/[Clang-Tidy]\n* https://clang.llvm.org/docs/ClangFormat.html[ClangFormat]\n* https://gcc.gnu.org/[GCC]\n* https://git-scm.com/[Git]\n* https://www.linuxfoundation.org/[Linux]\n\n== Code of Conduct\n\nThe project's Code of Conduct is available in the link:CODE_OF_CONDUCT.adoc[Code of Conduct] file.\n\n== License\n\nThis repository is licensed under the MIT license, available in the link:LICENSE[license file].\nThe C code is from Eike Sauer's blog post https://ein-eike.de/2025/06/05/fix-for-old-unity-games-for-linux-not-starting-anymore/[Fix for old Unity games for Linux not starting anymore] and is licensed under https://creativecommons.org/licenses/by-nc-sa/3.0/[CC BY-NC-SA].\n\n© 2025 Jordan Williams\n\n== Authors\n\nmailto:{email}[{author}]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwillikers%2Funity-single-instance-fix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwillikers%2Funity-single-instance-fix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwillikers%2Funity-single-instance-fix/lists"}