🔥NOTE: At the time of this writing, the Studio plug-in for Unity is in beta and under development. The information here is subject to change.
In order to build your Unity project such that the Lofelt Haptics will work, the following steps should be added to your normal build process.
Select File > Build Settings… from the Unity toolbar. The Build Settings window will open.
At the bottom-left corner of the window, click the “Player Settings” button. This will open a Project Settings window as shown:
Click the triangle to expand the “Other Settings” menu.
Scroll down and ensure “Allow ‘unsafe’ Code” is checked as shown:
🔥NOTE: This step of allowing unsafe code will not be needed in a future release.