[3.6.x] Interact Passthrough broken?
tracked
Shiro K
My seat trigger colliders are inside of a physical hull collider. The hull is on a custom layer called PhysicCollider and I use the "Interact Passthrough" setting to make it transparent to interaction. Live I can interact with the seats. That was uploaded with SDK 3.5.0. But when I upload my world with SDK 3.6.0, the interaction isn't possible anymore. I have to crawl to reach the seat collider inside. I guess, that feature broke with the layer changes in SDK 3.6.0. The first two images shows live SDK 3.5.0 vs my testworld SDK 3.6.0.
Log In
Shiro K
[3.8.2] I would like to extend this bug also to canvas components (with a VRC UI Shape component on it).
The collider in the screenshot is exactly in the middle of the UI sliders. The collider is on a layer which should be transparent to interaction (PhysicCollider - like on the screenshot of the initial post).
A desktop user with the head above the collider can move the sliders only until the point it intersects above the collider. A desktop user with the head below the collider can move the sliders only until the point it intersects below with the collider.
The raycast to interact with UI element in desktop should respect the interact passthrough setting too.
BoatFloater
In the meantime, this can be fixed in the SDK by finding
VRCSceneDescriptorEditor3.cs
and finding this line (In my projects it was line 147 or 159 depending on the SDK version):fieldPassthrough.BindProperty(propInteractPassthrough);
and replacing it with this code:
fieldPassthrough.RegisterValueChangedCallback(evt => {
propInteractPassthrough.intValue = evt.newValue << USER_LAYER_START;
propInteractPassthrough.serializedObject.ApplyModifiedProperties();
});
fieldPassthrough.SetValueWithoutNotify(propInteractPassthrough.intValue >> USER_LAYER_START);
GigiSpahz
The Interact Passthrough works if you set the layers to be Everything, but choosing to only set some specific layers to be passthrough just doesn't work. (Tested on SDK 3.7.4)
Glooca
[3.7.1] Seems to only affect non-VR users
StormRel
tracked