Forum Discussion

Thormj's avatar
Thormj
Explorer
14 days ago
Solved

Gray thing that blocks passthru?

I have a Q3, Unity6, using the Building blocks for Camera Rig, PassThru, MRUK, Raycast Viz, PassThru Camera Access, hands... and some cubes and things.  And I did the "don't show guardian" thing in the Manifest...

When I run the app, it is fine... until I move my head somewhere... then I am surrounded by a gray blob that blocks everything (including passthru; cannot see the scene nor can you see the passthru).  Hands do continue to work (palm up meta key) even though you can't see them [you do see the meta glyph].

Sometimes it happens when I leave a room, other times I have no idea what or why it's there... but since it blocks everything... it quickly becomes dangerous because I can no longer see my surroundings.  If I keep pushing... eventually, I get to the other side, but... no idea what it is, why it is, or even where it is (not visible in scene; doesn't belong to any of my gameobjects [cubes or dragon]).

When seated, it's usually X=0,Y=.4-.6, Z is eye level (as in, if you move forward, it blocks you -- it seems to be spherical r=.2 but... it's not visible in any way).  Annoying when I lean forward to see what's on the debug screen...

Example of last time in a concretish way [and this one doesn't seem to be a sphere...]:

  1. I went out to my deck and put on my Q3, and started the program.  It immediately went to "we need to scan the room," so I did so...  I went back to the sliding glass door [also labelled "door" on the planes" closed the program and launched it again to line things up.  It was "a little close," so I opened the  sliding door and stepped thru and the gray blocker attacked... I shut the door (it's cold out there!), and  shortly thereafter the cloud cleared and  I could see that the models loaded and were okay...
  2. I then walked around to the backside of the deck and it was still there and mostly where I left it (yay!  I figured it might lose the anchor), so I figured I'd go inside... as soon as I got "under" the room... the gray blob attacked... and didn't go away until I go inside the basement (into another "mapped room")...

Like I said, sometimes the blob attacks when I'm seated... in a mapped room, so it's not like I left... but it doesn't happen every time...

If you double-tap your Q3, it goes to the "passthru, but game paused" mode... if you double-tap again, it resumes... still in the blob.

So... anybody know what this is and how I can banish it?  I want to be able to see my surroundings at all times....

  • I had the same issue (I think), I finally figured out what it was, WallPenetrationTunneling in the locomotor creates a grey mesh when the camera gets too close to a mesh. I disabled the object.

    https://developers.meta.com/horizon/reference/interaction/v81/class_oculus_interaction_locomotion_wall_penetration_tunneling/

     

5 Replies

  • Degly's avatar
    Degly
    Start Partner

    So this is definitely a Unity issue. You should be able to either do a build with the headset connected or use logcat to figure out what gameobjects are in scene.

    It seems that the gray blob might be following your XR Camera. The fact that it is a gray thing makes me think it might be just a primitive being instantiated.

  • Oh, I figure it is some kind of issue, but I don't know what the gray object is...

    Is there a way in Unity to say "Alert: ElBlobbo is covering 90% of your viewport" (I'd throw that to the Debug.Log) and then see.

    After playing more, I'm thinking it's a bounding box or a collider or something because I took some things away and it went away... but when I loaded my STL model, it appeared again [but nowhere near "the actual bounds" of the STL afaik--- I'm trying to put a box around it to see]....

    • steve_40's avatar
      steve_40
      Expert Consultant

      Make sure your Unity project is configured using the latest version of the Meta SDK. Take a look at this post, it was the solution to a weird shadowing problem with Unity quite recently:

       

      If that doesn't solve it, use the Oculus Debug Tool and try disabling or enabling Sliced Encoding, as that can also cause a weird shadowing problem when playing various games, depending on whether you are using cable Link or AirLink (set to off for AirLink, and on for cable Link).

      • Thormj's avatar
        Thormj
        Explorer

        Ahh... I think I figured it out.  I've been importing STLs with either DummiesMan or ASIMPL and... the gray seems to be around the "bounding box" of the STL (nowhere near the actual mesh...)

        Figured that out when I was trying to fix my menu (BigRedButton good, Ugui buttons... no?), so I turned off all the other assets and no gray boxes.

        Both Asimpl and Dummiesman originally wanted different shaders for their materials, so I change the material to an existing one for the URP [not the SIMPLE Specular]... and... the models show up, but you can't get near 'em.

        I want to wrap that bounding box with a distance poke interactor so I can "Load / Save / Align / Scale" and get these things put in place.  But getting the interactions to work has been... rather weird.

  • I had the same issue (I think), I finally figured out what it was, WallPenetrationTunneling in the locomotor creates a grey mesh when the camera gets too close to a mesh. I disabled the object.

    https://developers.meta.com/horizon/reference/interaction/v81/class_oculus_interaction_locomotion_wall_penetration_tunneling/

     

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions