Skip to content
Doorstop -- run C# before Unity does!
Branch: master
Clone or download
Latest commit 5438cb8 Apr 6, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
Proxy Bump version Apr 5, 2019
scripts Remove original proxygen Mar 4, 2019
.gitignore Use version.dll proxy instead of winhttp.dll (thanks, @avail !) Mar 3, 2019
LICENSE Change license to CC0 May 5, 2018 Update README Mar 3, 2019
UnityDoorstop.sln Replace proxy with asm version Dec 14, 2018

Github All Releases GitHub release license

Run managed code before Unity does!

Unity Doorstop

Doorstop is a tool to execute managed assemblies inside Unity as early as possible!

This repository is indented mainly for developers!
Developers should package Doorstop into their applications for the end-users.


  • Runs first: Doorstop runs its own code before Unity has an ability to do so.
  • Configurable: A very basic configuration file allows to specify your own assembly to execute!
  • Public domain! You are fully free to embed Doorstop into your application!

Guides for users and developers on the wiki


To build, you will need:

  • PowerShell 2.0 or newer
  • Visual Studio 2017 (2015 might work as well with some modifications)
  • Visual C++ Toolset v140
  • .NET Framework 3.5 or newer (only for the example, not used by the proxy)

Clone, open in Visual Studio, select the platform (x86/x64) and build.

Custom proxy functions

Doorstop's proxy is flexible and allows to be load as different DLLs. You can modify which functions are proxied by adding/removing entries in dll.def

The current set up allows to use the proxy for the following DLLs:

  • version.dll (All exports)

(WIP: Currently all build results are placed in separate folders; will be changed later)

You can’t perform that action at this time.