Create Blync Experience

You can personalize your Blync experience by creating your own app using Blync SDK or creating your own Unity environment and uploading them to Blync servers and bike in them. Below are steps needed to create and upload an environment to Blync servers and start biking in them

1. Download and Install Unity

Unity is the software that is needed to create an environment for Blync. There are many online video tutorials on how to get started with Unity. Unity can be installed through Unity Hub. Once Unity hub is installed, you can select a Unity version to install. The recommended version for Blync is 2019.4.10f1 LTS which can be downloaded from here.

2. Create a 3D Project

After installing Unity, you can now create a new 3D project. This will open unity and take you straight to an empty scene for you to create your environment. This is where you can get creative in building your environment with your 3D assets or downloaded assets from Unity Asset store. To have an idea of the scale of the environment, you can add a 3D cube and use it as the height of a person in building your environment. Once you are done creating your environment, it is important to add a location where the biker will be spawned when they enter the environment. This can be done by creating an empty GameObject and adding a 'Respawn' tag to it. The empty GameObject can then be placed where the biker should spawn when you run the environment from inside Blync. Multiple Respawn objects can be added in different locations to spawn bikers in a round robin fashion. You can save your scene and give it a name that will also be used in Blync servers when uploading your environment. It's preferable to use a name with no space or special characters.

3. Addressables (v 1.8.5)

Blync uses Unity Addressables to load external environments. Once you finish creating your environment, you'll need to build it as unity addressables which you will then upload to Blync servers. You start by installing addressables through the Package Manager. You need to install version 1.8.5 for it to be compatible with Blync system. After installation, create Addressable settings by opening the Group window (Window-> Asset Management -> Addressables -> Groups) and clicking 'Create Addressables Settings' button. Click on the Default Local Group and make sure from the inspector that the Build Path and Load Path are set to RemoteBuildPath and RemoteLoadPath respectively. From the top menu, select Profile menu and click 'Manage Profiles'. This is where you set the RemoteLoadPath value to Blync Server. You should set the value to . Select the Default Local Group again from the addressables window. In the inspector, click on 'Inpsect Top Level Settings'. In the window show, check 'Build Remote Catalog' and ensure that Build Path and Load Path are set to RemoteBuildPath and RemoteLoadPath respectively.

You should next go to the folder location where you saved your scene and select the scene. Inside the inspector window, check the Addressable checkbox and change the value to your scene name (Remove .unity from the scene name. Use the same name as for the scene). This will add your scene inside the Default Local Group in your addressable window. You can now Build the addressables by selecting New Build from the Build menu on the top of the addressables window. Once the build is done, you will see 4 build files in your project folder inside ServerData folder. These files are what you will upload to Blync Servers.

If you are building for Android/Mobile devices, make sure to first switch the Build Settings (File -> Build settings) to Android. Then under Graphic API (Edit->Project Settings->Player->Others), only add OpenGLES2 and remove other Graphics API before building your addressables. You will find android build inside Android folder.

4. Upload to Blync Server

To upload your addressable build to Blync server, you use Blync Companion app for your computer. Open Blync Companion app and select 'Create' menu. Click on Create App button and specify a name and description and then click Create App. In the newly created app, click on Scenes and click Add Scene button. Here you have to use the name of your scene that you used in the addressable name. Click Add Scene to create the scene. In the newly created scene, click on Add Asset button. This will launch a web page where you will upload the assets. You can upload an image for your scene and also the files that was generated when you ran your addressable build in the previous step. The file upload has 2 sections, Desktop and Mobile sections. If you build your scenes with high polygon assets that can only run properly on Desktops, then upload them for only desktop. If you used Low poly assets, then you can consider uploading them for both Desktop and Mobile.

5. Ride in your environment

After uploading your environment assets to Blync Servers, you are now set to ride in your environment. You need to run Blync Game app and get to the home environemnt (Stadium). Then open the main menu panel and select Community. Here you should be able to see your new environment and select it to load and be able to bike in.