Skip to content

Latest commit

 

History

History
107 lines (69 loc) · 4.69 KB

update-sdk.md

File metadata and controls

107 lines (69 loc) · 4.69 KB

Update the SDK

Through this guide, you will be introduced how to update the SDK if you already have installed the SDK previously. Please, restart the Editor before continuing.

Remove Old Package

Remove the previous HISPlayer SDK package from Unity Package Manager.

Window > Package Manager > Packages - HISPlayer > HISPlayer SDK > Remove

Remove


Import New package

Importing the new package is the same as importing other normal packages in Unity. Select the package of HISPlayer SDK and import it.

Assets > Import Package > Custom Package > HISPlayerSDK.unitypackage


Configure Unity for visionOS

Install the visionOS Unity package

Open the window Window > Package Manager located in the upper side of the screen > Click on '+' > Add package by name and write com.unity.xr.visionos in the box and wait until the package is installed.

image image

Open Edit > Project Settings > XR Plug-in Management select the visionOS platform and enable the option Apple visionOS

image

In the same window open XR Plug-in Management > Project Validation and click on Fix All button. If there is still some error on the panel follow the instructions until you have no errors.

image

Deploy for Apple Vision Pro Device

In the Project window, open Packages > HISPlayer SDK > HISPlayer > Plugins > iOS select HISPlayeriOS.framework and exclude visionOS platform.

image

In the case of using the Apple Vision Pro device, please, follow these steps:

  • Open Project window open Packages > HISPlayer SDK > HISPlayer > Plugins > visionOS, select HISPlayerVisionOS.framework, exclude iOS and enable the option Add to Embedded Binaries.
  • Open Packages > HISPlayer SDK > HISPlayer > Plugins > visionOS > simulator, select select HISPlayerVisionOS.framework and exclude visionOS platform.

image


image

Deploy for Apple Vision Pro Simulator

In the Project window, open Packages > HISPlayer SDK > HISPlayer > Plugins > iOS select HISPlayeriOS.framework and exclude visionOS platform.

image

In the case of using the Apple Vision Pro simulator for Xcode, please, follow these steps:

  • Open Project window open Packages > HISPlayer SDK > HISPlayer > Plugins > visionOS > simulator, select HISPlayerVisionOS.framework, exclude iOS and enable the option Add to Embedded Binaries.
  • Open Packages > HISPlayer SDK > HISPlayer > Plugins > visionOS, select select HISPlayerVisionOS.framework and exclude visionOS platform.

image


image

Update License Key

If you received a license key from HISPlayer, please input the license key in the License Key field.

image

If the license key is not valid, the player won’t work and will throw an error message. License key is not required for Unity Editor usage.