Skip to content

tinylabproductions/unity-mono-compiler-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

!!! NOTICE !!!

Turns out we've reinvented the wheel. Alex Zhdankin has a better version of this tool on BitBucket. Please use that.

This will be left for search & scholary purposes.

!!! /NOTICE !!!

Unity Mono Compiler Wrapper

Updates Unity to use newer Mono compiler.

Because Unity uses a very old Mono compiler this fixes various problems, like:

Setting up

%UNITY_INSTALL_DIR% is the directory you've installed Unity. That means it's the directory with Editor/ and MonoDevelop/ directories inside of it.

Instructions

  • Install latest mono.
  • Either:
  • Install UnityVS & get Unity SDK files from C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Unity Full v3.5.
  • Download Unity SDK files from here: unityfull.zip
  • Put extracted Unity SDK files somewhere - the default location is %UNITY_INSTALL_DIR%\unityfull.
  • Download compiler-upgrade.zip.
  • Extract compiler-upgrade.zip to %UNITY_INSTALL_DIR% overwriting any files.

Environment variables

You can specify these environment variables to change the behaviour of the wrapper:

  • UNITY_NEW_MONO_SDK - path to Unity SDK which is used when building (default: %UNITY_INSTALL_DIR%\unityfull).
  • UNITY_NEW_MONO - path to new version of Mono (default: %ProgramFiles%\Mono\lib\mono\4.5\mcs.exe).

Troubleshooting

We have only checked this on Windows & Android. Pull requests are welcome.

Other than that - if you have problems check the log file at %TEMP%\UnityMonoUpdatedCompilerOutput.txt

Original Author

Evaldas Čiakas evaldas@tinylabproductions.com

About

Wrapper for Unity3D that allows using new Mono compiler that doesn't have a zillion bugs in it.

Resources

Stars

Watchers

Forks

Packages

No packages published