Skip to main content

Luna Dependencies

Luna Playable is provided as a Unity package and has a number of dependencies which are required before the installation.

Unity Engine#

Luna Playable enables you to build playable ads in Unity, and so the Unity editor is a natural requirement.

Currently, the Luna exporter and engine support the following Unity versions:

  • 2018.4 (LTS)
  • 21019.1-3
  • 2019.4 (LTS)
  • 2020.1

These versions all have continuous-integration tests, but it is important to note that it does not mean that 100& of features are supported.

Whilst 2018.2-3 work with Luna, we no longer run tests against these versions due to low usage.

You can download a specific Version from the Unity download archives section for both Windows and Mac.

Install .NET 4.7#

You will need to download the .NET 4.7 developer pack to have the correct framework and libraries to work with Luna. .NET is required for C# (gameplay code) to JavaScript (gameplay code) conversion.

If you are on Windows you can use Visual Studio Installer:

  1. Click the 'Modify' button next to the version of VS you are using
  2. From the window opened select .Net desktop development
  3. In the right hand side of the window (Installation details) new items will appear
  4. Select .NET 4.7 and above (Example of this below)
images-large

  1. Next navigate to the 'Individual Components' tab
  2. Search in for '.NET' and select the 4.7 SDK & targeting pack items (Example of this below)
images-large

  1. After selecting all these hit 'Modify' in the bottom right and let the items install

Independent Development Environment (IDE)#

You can download the relevant IDE using the links below. These are used as external code editors attached to Unity.

More than likely, since you may already have Unity installed, you may already have them (but better safe then sorry!).

  • For Mac, you will need Mono Develop installed as a code editor but can also use Windows link for Visual Studio.

  • For Windows, you can download Visual Studio

MS-Build#

MS-Build is a build tool provided by VisualStudio/Mono.Frameworks and is used to compile code packages for Luna Playable. thus is crucial to certain Luna build stages.

For Windows MsBuild is usually located inside:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe

For Mac MsBuild is usually located inside:
/Library/Frameworks/Mono.framework/Versions/Current/bin/msbuild

If you find that MS Build is not located at the locations above, please first ensure that it is installed (comes with Visual Studio installation). After ensuring it is installed search for "MSBuild.exe" in your system files, and use the path of the folder containing it in the Luna Plugin Window. (If your search returns multiple MSBuild.exe files, choose the one located at the root of the Bin folder)