cwi-dis / VR2Gather

Unity application framework for immersive social VR
MIT License
4 stars 6 forks source link

Unity 2022 VR2Gather without HMD has funny white shape in center when a dialog is visible #135

Closed jackjansen closed 5 months ago

jackjansen commented 9 months ago

If a dialog is visible there's a funny shape over the dialog, centered on the screen.

When the center of the screen is not over the dialog the shape disappears.

When using an HMD this doesn't happen.

It happens on both Mac and Windows.

It does not depend on self-representation (seen with both pointcloud and avatar)

It happens over the login dialog (seen with various dialogs in the LoginManager scene) but also with the HUD (also seen in Pilot0).

It is only visible in the player view, not in the scene view.

jackjansen commented 5 months ago

Finally found time to investigate this, and the problem is in the hands (all of left/right/handsfree), in the XRInteractorLineVisual. Because the hands aren't positioned by controllers they are at (0,0,0) relative to the camera, so we are basically "looking down" the white line.

So the question is why these hands are active...

jackjansen commented 5 months ago

There is no script (anymore?) that enables/disables the hands (and the handsfree).