Skip to content

Exporting for OP‐Z

tngjonas edited this page Apr 2, 2021 · 29 revisions

OP-Z

The OP-Z companion app for iOS will provide convenient access to videolab content.

Read more about the OP-Z.

Compatibilty

Different versions of the OP-Z app require videopaks built with different versions of Unity. We recommend always using the latest OP-Z app and the latest videolab release.

  • OP-Z app 1.2.x require videopaks built with Unity 2018.4.x (2018.2.x paks seem to work OK, ymmv). The recommended version is 2018.4.29. Also note that currently you need to set Graphics API to Metal for iOS, OpenGLES2 for Android and OpenGLCore for MacOS in your project before building videopaks (this was not necessary with Unity 2018.2).
  • OP-Z app 1.1.x require videopaks built with Unity 18.2.x

Multiple versions of Unity can co-exist on your system - on mac you need to rename any existing "Unity" application folders before installing an additional version, or use Unity Hub. Find all Unity versions here. Make sure you check the build support boxes for iOS, Android (and Mac if you're on Windows).

Content exported for OP-Z can rely only on scripts included in videolab. If you want to add functionality to videolab feel free to fork the repo (see Contributing to videolab).

Exporting videopaks

A videopak is a folder containing the necessary assets to load your scene on all platforms supported by OP-Z - iOS and Mac currently.

First you need to set an asset bundle name to the scene you want to export. You can do this on multiple scenes in the same project if you want. DO NOT set the asset bundle name on any other assets.

Asset Bundle Name

Then click Build Videopaks in the Assets menu to bring up the build window.

Select the asset bundle you wish to build. Set a name, author and icon (optional), this determines how your Videopak will be listed in the app. Then press build and select the output file name in the dialog that comes up.

export