VR immediately crashes when you try to interact with any surface gui

All in title. Any surface gui interaction ingame in vr immediately crashes the game.
I am using the HTC Vive.
If you want a quick repro, Put a scrolling frame in a surface gui in any game. Point, click, crash

8 Likes

Yes! I have that problem aswell.
I made a VR hand demo and you can bring up a chat menu with the B button and it just crashes the whole game (and sometimes it works fine). I don’t have any while loops that could cause this too and I really don’t know what to do about it, except removing that interface completely…

(Edit: I am using an Oculus Rift)

2 Likes

Yeah this issue is really annoying. The only way to fix this is by parenting the SurfaceGui to your PlayerGui and setting it’s Adornee to the surface you need.

I am using an Oculus Rift S.

2 Likes

Please provide crash dumps to the forum group inbox as specified by the bug report guidelines. Engineers without VR hardware may be unable to reproduce this and thus cannot investigate it.

I feel like there’s a lot more that also needs to be done with VR- Roblox will have to spend a while revisiting it. (A LOT is totally defunct)
This will probably come up and be addressed with an earnest revisit.
I’m mainly putting this here so if someone is looking this up, they know they aren’t alone

2 Likes

Detailed description of the bug:

  • When pressing the trigger in VR to select a Scrolling Frame’s bar inside of a SurfaceGui, the game crashes. However when I play as a normal user I can easily scroll it and click it perfectly fine. I have only been able to test this with HTC Vive

Where the bug happens:

  • The bug occurs anywhere, you just have to be within range of a SurfaceGui and be able to click on a scrolling frame.

When it started happening:

  • I don’t actually know how long this has been a bug, but it only became present to me when one of my friends pressed on the scrolling frame bar, i’m assuming it’s been a bug for a very long while.

Screenshots and videos of the bug:
(VR Perspective):
https://streamable.com/s/bau50i/xpiawy

(Player Perspective):
https://streamable.com/s/nj7l88/vvulng

Steps to reproduce the issue:

  • Enter the roblox game in VR mode
  • Press the right trigger on a scrolling frame within a SurfaceGui
  • Your game should instantly crash

System Specs:

  • The VR Headset was a HTC Vive running SteamVR.
  • The Computer was:
    • OS: Windows 10 Pro
    • CPU: AMD Ryzen 7 2700X 8-Core
    • GPU: NVIDIA GeForce GTX 1060 6GB
    • Memory: 16GB Ram
6 Likes

Bump

I just want to add I do have the Dump Files from that recorded day, but as of yet no engineer has replied so I can’t exactly send it. (atleast that’s what I read from the bug report guidelines)

For issues with the Roblox app used to play games, wait for an engineer to reply and DM the files to them.

2 Likes

There’s information in the bug reporting format on how to send dump files privately to engineers (you have to DM a forum group with them)

3 Likes

Thank you for that information i’ll do that right away.

3 Likes

Also having the same issue, using Valve Index. For me just simply pointing at any surfacegui without even clicking instantly crashes the game.

2 Likes

I came across this today when testing my own VR code. When this happened, the rendering froze and the error Cannot set GuiService.SelectedObject to Workspace.TestGui.SurfaceGui.ScrollingFrame because it is not a descendant of a PlayerGui was being spammed in groupings of hundreds, potentially because it is blocking rendering. It looks like this bug requires a SurfaceGui parented to Workspace with the component being Selectable. If the SurfaceGui is not in Workspace or the component is not selectable (Frame.Selectable = false), then this does not occur.

1 Like

This happens in RagdollSim too!

image

I can provide dump files upon request.

Edit: We patched this in new Ragdoll sim servers.

1 Like

My apologies for the late response. We’ve filed a ticket to our internal database and we’ll follow up when we have an update for you.

4 Likes