Skip to main content
New Participant
August 30, 2021

App freezes when turning passthrough off at runtime

Hi, I've gotten the new passthrough API in Unity to work in my app.  I have it turning on at the start, but I'd like to turn it off programmatically later.  I tried setting the isInsightPassthroughEnabled property to false on OVRManager, but my app freezes when I do this.  No clues were printed to the logs when the freeze happens...  Is this a known issue?  Has anyone else been able to get passthrough turning on and off at runtime?  thanks!

    1 reply

    August 31, 2021

    The developer of "Cubism" has been experimenting with passthrough and got it to turn on/off. You might be able to ask them what the secret is on Twitter?

    https://twitter.com/tovanbo/status/1428103284569645072?s=20

     

    (Cubism is a great app, BTW)