5 Integrate Harken Studio with Unity
You have prepared the Unity game project and the Harken audio project separately. In this chapter, use Harken Hub to link them and install the Unity Integration Package in the Unity project so the game can play and control the sounds configured in Harken Studio.
Project linking records the relationship between the two projects in Hub. The Unity Integration Package provides the interfaces and components needed to load audio packs, trigger Actions, and update variables in Unity.
Before you start: Save the Unity scene from Chapter 4 and the Harken project from Chapter 3. Exit Unity Play mode and close this project's Unity Editor to avoid file locks while installing the Unity Integration Package.
Link the Two Projects in Harken Hub#
Open Harken Hub → Engine Integrations and click + at the upper right to open the integration details.

Under Game Project → Select Game Project, select the Unity project root folder,
E:\unity projects\RollABall_Game. (If you used a different location, select the Unity project folder you just saved.)

The Unity project path is now filled in.
Click Browse... to the right of Harken Project and select the Harken Studio project file saved earlier,
E:\Harken projects\RollABall_Audio\RollABall_Audio.hsp. If your project is elsewhere, select your own project file. Then click Open.

Confirm that both projects are the ones used in this exercise, then click Link Projects. In the confirmation dialog, click Link Projects at the lower right.


You should see Projects linked. Once the projects are linked, continue with the Unity Integration Package installation.

Install the Unity Integration Package#
Find the Integration section below and click Install Integration Package... at the bottom of that section to open the installation window.


Click Check Integration Package Changes at the lower right and wait for the check to finish. This only checks what will be installed; it does not write integration package files to the Unity project yet.


When the progress bar disappears, click Confirm Integration Package Installation at the lower right.

Wait for the same window to report that installation is complete, then click Close at the lower right to return to the integration details.


In the integration details, click Check Current Integration Package Status. Under Results and Logs, confirm that the installed Unity Integration Package passes verification.


Click the minimize button at the upper right of the Harken Hub window.
Return to Unity and Check the Integration#
Return to Unity Hub and click the Unity project you created under Projects.

Open Edit → Project Settings and confirm that Harken → Project and Harken → Communication appear on the left. In the next chapter, you will use Harken → Project to configure the audio project and Pack paths. Leave them unconfigured for now.


Chapter check: Hub records the link between RollABall_Game and RollABall_Audio.hsp, and the Unity Integration Package passes its status check. Unity compiles successfully, and the Harken settings appear in Project Settings. Continue to Chapter 6: Configure and Export Packs to export the sounds authored in Studio for use in Unity.