Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Question Help with XR Portal with Passthrough

Discussion in 'VR' started by randomechanism, Sep 22, 2022.

  1. randomechanism


    Jan 27, 2022
    I have created a unity project in which I combined different elements out of several tutorials. The project is about a VR Portal (for Oculus) which can be set inside of a physical room (pass through reality) with the help of the joystick. The portal will stay where it was set with the help of spatial anchors. If you walk through the portal you will be in another room (virtually built room).

    For the Portal I followed
    . For the VR integration and spatial anchors I followed

    Throughout the process everything worked more or less according to plan but when I transferred the apk file onto the Oculus and started testing it, there were some problems regarding the spatial anchors. The problem was that after opening the project on the Oculus it worked fine as long as I used it. But as soon as I stopped using it for a while, it would not work anymore and I couldn't set the spatial anchors anymore. Also when shutting down the Oculus and restarting the project again, it doesn't work.

    So if you have an idea on why this might have happened, I would be very grateful!

    Also while testing to set the spatial anchors there was a specific error I got:

    Error OVRPlugin [CreateSpatialAnchor] m_XR_FB_spatial_entity extension is not available (arvr/projects/integrations/OVRPlugin/Src/Util/CompositorOpenXR.cpp:5426)

    Maybe that leads to more answers.

    Kind regards