Currently, your model can only be accessed through Unity. in order for others to be able to see it in the Frontline Application, we need to build and upload it.
At the top menu go to LLS > Frontline Builder.
In this window, you can manage and upload the scenes in your project.
Add a new asset bundle card, by pressing the "Add" button
Asset bundles are files that include all of the relevant materials for the selected scenes in one file.
In the asset bundle card, select the correct asset bundle that you wish to upload.
To upload it right from the SDK you have to be logged in.
After logging in the option to upload it will be visible.
In the asset bundles dropdown, Select the item that you wish to update the file into (you can also create a new item)
Tick the checkboxes that you want to build for.
notice that support for more platforms can be installed through the Unity Hub.
Once you are ready to build the file and upload it, make sure to save the scene and press the Build button.
The building might take a long time, from a minute to more than an hour, depending on the complexity of the model.
Once the build is complete, there will be a popup to let you know.
After building and uploading the asset bundle, go to the Frontline application and test your digital twin.
The build failed and did not finish
Cause: Errors in the console log
Note that if the build failed for any reason, you should go to Window>General>Console and briefly go over the errors it states. If you are not sure what caused the error, please send an email to [email protected] and send us an image of your console errors.
The build finished but did not upload to the frontline.io item
Cause: Logged out while building
You might have been logged out while building the asset bundle, or another connection issue might have happened. Try to upload the file again. (You can only press on the "Publish only" button to upload the last build without having to build it again.
Some platforms do not exist in frontline builder
Cause: The platform module is not installed in Unity.
Install it through Unity Hub under the name "Universal Windows Platform build Support", refer to installing Unity for more information.
There's a red error icon next to the asset bundle
Solution: Check the asset bundle labels
This means that there are multiple assets in the project that share an asset bundle label.
It is required that only the model's Scene asset have the asset bundle label
To fix this:
Find the other asset that has the asset bundle label
remove the label from the asset.
Verify that only the active scene has the asset bundle label you wish to build
Asset Bundle Label location
The other reason for this is that there's no scene in the project that holds the Asset bundle label,
To fix this:
Select your model's scene
In the bottom right corner, select the asset label dropdown
Select the correct asset label or create a new one
Select the asset bundle again in the Frontline Builder