Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SkyUI search hangs and crashes #90

Open
foxhound525 opened this issue Nov 5, 2023 · 3 comments
Open

SkyUI search hangs and crashes #90

foxhound525 opened this issue Nov 5, 2023 · 3 comments

Comments

@foxhound525
Copy link

I tend to accidentally trigger the search function when managing inventory by accidentally hitting up on the right trackpad when I'm trying to press the middle button (HTC vive, right controller). When the keyboard comes up, I press the tick without entering anything, but then the cursor on the search (filter) bar will continue flashing, sometimes for a few seconds, sometimes you'll have to wait 20 seconds for it to stop and allow you to interact with the game again. This is probably the biggest nuisance in my game but ofc there are no logs for it.

In the crash log I have below, I actually tried to search for something, but as soon as I pressed the tick after entering the search keywords, the game just crashed.

https://pastebin.com/5du4qsDF

Doesn't crash everytime, but the search function does sometimes crash the game, completely freeze the game, or make it hang for seemingly random amounts of time.

@foxhound525
Copy link
Author

@Odie
Copy link
Owner

Odie commented Jan 7, 2024

Hi there!

Thanks for sending in the bug report and crash logs. I thought I had solved the keyboard crash bugs already, but I guess there are more bugs lurking somewhere. Please do help me understand a bit more about what's happening though. I haven't been playing SVR for some time now.


Q1. When you say you "press the tick", are you referring to pressing the grip buttons that's on the sides of the vive controller?

Q2. From your description, it seems like both of the bugs happen when you start the search feature, bringing up the keyboard, then dismiss it immediately without having entered anything? IIRC, this is also the way to clear the search box when you have previous entered a search term and wants to clear it. Do the bugs happen when you're trying to clear the search box?

Q3. How often are either bugs triggered? When the bugs are triggered, what percentage of the time does it result in a crash?

@foxhound525
Copy link
Author

foxhound525 commented Jan 7, 2024

  1. When I say press the tick, I mean the tick on the steamVR keyboard that submits what you've typed and closes the keyboard.
  2. So there are a bunch of bugs going on that all happen in different ways.

Starting the search functionality, then pressing the tick on the keyboard with nothing entered often results in a hang-up. This happens randomly when there was nothing in the search box previously, and when you are entering nothing into the search box in order to clear the previous input from it. The blinking cursor might be unresponsive for a few seconds then return control to the player, it might take 15 seconds before it returns control, sometimes it never returns control at all, and you can no longer interact with the game because the cursor doesn't stop blinking. If you then open the steam interface, the game menu will open in the background, and when you close the steam overlay you can't do anything in game and you're soft locked on the game menu and unable to interact with it, then you have to then close the game altogether and restart it. If you don't open the steam interface, it will just sit there with the blinking cursor, basically indefinitely. You can no longer interact with the game, the only control that responds is to open steam which results in the above.

Sometimes SkyUI breaks when doing actual searches too. I've input some stuff, pressed the tick on the steamVR keyboard, then the game immediately crashed. I've got a log for that in my first post, but I've had this happen a few times. Other times, you can successfully submit your search input, but then when you try and navigate through the search results, the item selector/cursor moves down the list a few times then becomes completely unresponsive. You can quit whatever menu you were using and try again (no crash or locking), but I've had this happen a few times consecutively, and I couldn't get far enough down the list to interact with the thing I was actually trying to find.

  1. Honestly, I'd say about 70% of the time I use the search function without entering an input it will hang for a noticeable time after the keyboard is closed (often about 5-15 seconds), about 20% of the time it has an unrecoverable hang requiring a game restart. Once it hangs past 10-15 seconds, the chances of it ever returning control to the player are basically zero, I don't think I've ever seen it recover from a long hang up. None of these result in an actual crash though, as the game client persists but you just can't interact with it, forcing you to close the game.

The actual crashes are a lot rarer, and also much less predictable. I'd guess these happen about 5% of the time. As mentioned, this is typically triggered when you close the steamvr keyboard after submitting an actual typed input. No noticeable hang, just immediately crashes to desktop.

Hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants