Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Addmire's avatar
Addmire
Honored Guest
5 months ago

Deploying Passthrough App in Shared Mode without Insight SDK Blocking HMS (Horizon Managed Service)

Hi everyone,

I’m developing an educational XR application for Meta Quest 3S devices, intended for public use in a science center.

I’m trying to deploy the app in Shared Mode via Meta Horizon Managed Services (HMS). My application uses:

  • OVRManager

  • Passthrough API for basic passthrough functionality (showing the real-world environment as a background layer).

I do NOT use:

  • Scene Understanding

  • Spatial Anchors

  • Object Anchors

  • Avatars SDK

  • Platform SDK APIs 

However, when I upload my updated APK to HMS, I keep getting the error:

Shared mode: contains Insight SDK

I have tried:
:white_heavy_check_mark: Removing all references to Scene Understanding scripts (e.g. OVRSceneManager, OVRSceneAnchor).
:white_heavy_check_mark: Removing Spatial Anchors scripts.
:white_heavy_check_mark: High Managed Stripping Level to reduce unused code.
:white_heavy_check_mark: Cleaning up Assembly Definitions.

But the Insight SDK warning still appears, even though my app only uses passthrough. And so the app won't update.

My questions:

  1. Is it possible to deploy an app using the Passthrough API in Shared Mode without HMS blocking it for containing Insight SDK?

  2. Does simply having the Insight SDK DLLs present in the Meta Core or Interaction SDK force HMS to block Shared Mode, even if I’m not using those APIs?

  3. Is there any recommended way to build a “lightweight” version of the Meta SDK that excludes Insight SDK for Shared Mode deployment?

I’m trying to avoid having to abandon Shared Mode because this deployment is for a public science center where multi-user security is important.

Thanks a lot for any help or guidance!

2 Replies

  • gxrjeff's avatar
    gxrjeff
    Honored Guest

    Did you ever find a solution here?

    I dug even deeper, just a clean project - as soon as I add Oculus XR Plugin / Open XR plugin in Unity - I get the error

  • Hello there!

    There have been compatibility issues with the Insight SDK and HMS. If you would like to keep the Meta SDK and remove the Insight SDK, go to the link below and it'll show you how to navigate the package manager if that is how you installed the SDK. If you downloaded it in an alternate way, you can go to your assets directory and it should be named InsightSDK, Oculus/Insight, Meta/Insight, or something similar.

    https://docs.unity3d.com/Manual/upm-ui.html

    Let me know if you need any additional help with implementation!