Create a standalone build
After completing your SensorSDK project, you might want to have your project work and run independently from the Unity Editor. Unity allows you to set up and export your SensorSDK application, or standalone build, to a specific platform.
This section provides the steps required to export a standalone build.
Prerequisites
Make sure you have the latest versions of SensorSDK and the Unity Industrial Collection (UIC) installed.
You should also be familiar with the following concepts:
Select SensorResource assets
To create a project build, you must include all SensorSDK and SystemGraph resources and include them as addressables.
- In the Editor toolbar, go to Window > Asset Management > Addressables > Groups to open the Addressable Groups window.
- Select Create Addressable Settings to create a new default group. Close the window.
- In the Project tab under Assets > Settings, select SensorResources.
- In the Inspector window, select Addressable.
Select SystemGraph assets
- In the Project toolbar, select Open in Search, or press Ctrl/Cmd+K
- Enter
*.systemgraph
and select all required system graph assets. - In the Inspector window, select Addressable for all required system graph assets.
Build the addressable content
Before you export the project, you must build the addressable content in the Unity Editor.
- In the Editor toolbar, go to Window > Asset Management > Addressables > Groups to open the Addressable Groups window.
- Select Build > New Build > Default Build Script in the Addressable Groups toolbar.
Build and run
In the Editor toolbar, select File > Build and Run, then select the output directory for your project.
For more information on build settings, see Platform development.