Version: 2019.3
Live Editing

Building for Mobile / Consoles

To use Bolt, which is Unity’s visual scripting solution, you must purchase it on the Unity Asset Store.

AOT Pre-Build

Bolt supports all Unity build targets, including ahead-of-time (AOT) platforms like iOSApple’s mobile operating system. More info
See in Glossary
, Android, WebGLA JavaScript API that renders 2D and 3D graphics in a web browser. The Unity WebGL build option allows Unity to publish content as JavaScript programs which use HTML5 technologies and the WebGL rendering API to run Unity content in a web browser. More info
See in Glossary
, WSA and consoles.

However, before building to AOT platforms, you need to run an additional step in order to trick the Unity compiler into forcing the compilation of reflected members and types ahead of time.

Fortunately, this is a one click operation. Simply open Tools > Ludiq > AOT Pre-Build and click Pre-Build:

If you forget to run this step, you may get errors that look like:

ExecutionEngineException: Attempting to call method (...) for which no ahead of time (AOT) code was generated.

AOT Safe-Mode

Because AOT platforms do not safely support generics, generic types are by default not available in literals when you are targetting an AOT platform. To disable this behaviour, you can uncheck AOT Safe Mode in the Tools > Ludiq > Project Settings….

Universal Windows Platform

When building for Universal Windows PlatformAn IAP feature that supports Microsoft’s In App Purchase simulator, which allows you to test IAP purchase flows on devices before publishing your application. More info
See in Glossary
(UWP, formerly known as Windows Store Apps, WSA, or Metro), Bolt requires the use of the IL2CPP scripting backend. To change it, go to Edit > Project Settings > Player, choose the Window Store panel and change the value of the following dropdown:

Cloud Build

The method Ludiq.AotPreBuilder.PreCloudBuild can be used to automatically hook into the cloud buildA continuous integration service for Unity Projects that automates the process of creating builds on Unity’s servers. More info
See in Glossary
process as a pre-export method name. See the Unity Documentation for more details.

Live Editing