Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
139 stars 2 forks source link

controller disconnect on steamlink causing transformstreamdriver to not work anymore #927

Open alexderpyfox opened 10 months ago

alexderpyfox commented 10 months ago

Describe the bug?

with steamlink so basically sometimes when yopu place the headset down and it goes to sleep mode itll disconnect the controllers and it causes it to get stuck with a stopwatch symbol only way to go back to normal is restarting steamvr. i noticed that the controllers become permanently disabled ingame till restarting vr while the hands actually move as rightcontroller/left (the slots under userroot) still moves normal as seeing by the gizmo but the avatar hands stay stuck also it isnt a avatar specific issue since it happens in other avatars too and in other headsets that use steamlink.basically after testing we narrowed it down to transformstreamdriver not sending any data to the proxys anymore.

To Reproduce

it happens randomly with steamlink when placing the headset down

Expected behavior

the controllers not to get stuck

Screenshots

No response

Resonite Version Number

2023.12.15.22

What Platforms does this occur on?

Windows

What headset if any do you use?

quest pro quest 2

Log Files

log.txt

Additional Context

No response

Reporters

No response

Nytra commented 10 months ago

I had this problem with Steam Link too. It is annoying. Hands stop tracking and get stuck in floor but button inputs still work.

Nytra commented 10 months ago

My setup is this:

Windows 11 Quest 2 with v60 system software SteamVR Beta on PC Steam Client Beta on PC Steam Link Beta from Meta Store on Quest 2

I have some log files:

In the first log I started Resonite via Steam Link VR, a few times I took off the headset and waited 5-15 mins each time before coming back to find the controllers still working... however then I put down the headset for a bit longer, felt like it could have been 30 minutes to an hour, then came back to find the hands stuck below me and no longer tracking in Resonite. (Button inputs and thumbsticks still worked). When opening the SteamVR dashboard the controllers were still tracking fine in there.

Bug happens first time - DESKTOP-H976HO2 - 2023.12.21.1127 - 2023-12-25 16_37_50.log

Picture of hands stuck (Stopwatch/timer icon partially visible below the hands):

20231225175754_1

This second log file is me immediately restarting Resonite after the first log (without restarting Steam Link / SteamVR). The controllers briefly were able to track during initial loading (I could see the toolshelf following the controller movements), however after fully loading the local world and loading the default avatar they get stuck again same as before.

Second launch after bug happened - DESKTOP-H976HO2 - 2023.12.21.1127 - 2023-12-25 18_02_40.log

I have no idea if this is a bug with Resonite or a bug with Steam Link.

shiftyscales commented 10 months ago

@modernballoonie in #1111 experienced the same issue, and submitted the following.

Describe the bug?

Sometimes if I take my headset off (Quest Pro) while using steam link, and come back later, Sometimes my controllers will appear to be stuck in one position (near root) and not be able to move, ONLY in Resonite.

In SteamVR, the controllers appear to move, and the buttons work in Resonite, though again the tracking just does not work.

Another thing is that other VR games like VRchat and the SteamVR menu seem to work fine in this state, but even if I restart Resonite when the controller is in this weird broken state, the controller is still at root. The only fix for this is to restart SteamVR entirely.

To Reproduce

Use steam link on a quest pro (or other quests?) to play Resonite.

Leave your headset off and alone for a bit

Come back later, See if your controllers work. Sometimes the controllers are stuck in one place, will track fine in SteamVR and in games like VRchat, but Resonite for some reason keeps your controller at root.

Expected behavior

For my controllers to work correctly after taking a break

Screenshots

https://github.com/Yellow-Dog-Man/Resonite-Issues/assets/82356528/33433534-1f0c-4e94-9f5d-3a69362afa75

This time it only happened with my left hand but sometimes this happens with my right. as well, sometimes both.

Resonite Version Number

2024.1.3.1265

What Platforms does this occur on?

Windows

What headset if any do you use?

Quest Pro

Log Files

DESKTOP-QBGCSAQ - 2024.1.3.1265 - 2024-01-09 19_34_17.log DESKTOP-QBGCSAQ - 2024.1.3.1265 - 2024-01-09 19_17_20.log

Here are the logs for both sessions seen in that video.

Additional Context

No response

Reporters

ModernBalloonie

RobertBaruch commented 8 months ago

I note that with Virtual Desktop, this doesn't happen... but possibly because with Virtual Desktop, Resonite doesn't go into desktop mode when taking off the HMD.

1373

ModernBalloonie commented 8 months ago

To add onto this, I've also had this happen if I start SteamVR, Leave my headset for a while unattended, then come back like 10 or 20 mins later (sometimes could be less too), then start Resonite, my controllers will be stuck at root, even though I didn't launch Resonite yet.

This issue is extremely frustrating.

Nytra commented 8 months ago

That sounds like it might be a problem with Steam Link then rather than Resonite

ItsAlphaNeon commented 8 months ago

But no other application is affected when the controllers are in a bugged state. VRChat, Pavlov, and other applications function properly. Resonite seems to be the only application affected. So while it appears to be a SteamVR bug, Resonite is the only application affected by it.

ModernBalloonie commented 8 months ago

Yeah, basically, what alpha said.

ModernBalloonie commented 8 months ago

I've even had the bug occur after going into VRchat, taking my headset off and putting it back on again a bunch of times to do avatar work, controllers working completely fine there, and then go onto Resonite, and my controllers are just stuck at root specifically in Resonite. In order to fix it, I need to restart the entirety of SteamVR.

DanteTucker commented 8 months ago

Just want to add that any time I take off my quest pro for more then a minute my controllers are dead in Resonite till I restart steamvr. Even though they continue to work in any other steamvr app. I don't have vr hotswitching on.

navy3001 commented 8 months ago

i have the same problem.

ProbablePrime commented 7 months ago

This just affected me while judging MMC entries, I will exterminate when i can

navy3001 commented 7 months ago

Alright thank you. Also just wondering would you like to see my yard Is some time? I took virgels tardis and heavily nodded it! I can use it to world hop via grabbable as well! Only way to travel now lol.

On Wed, Mar 20, 2024, 3:13 PM ProbablePrime @.***> wrote:

This just affected me while judging MMC entries, I will exterminate when i can

https://camo.githubusercontent.com/96c7289ff640ae89a8b89ff271560c50e4828c699db5ceff3c81f475f2f320bd/68747470733a2f2f6d65646961312e67697068792e636f6d2f6d656469612f54456c55513870686a48377172386c4931722f67697068792e6769663f6369643d37393062373631313235786e38336a6a70706c6b62386766326a6f6b7062677a3533363668326564716363396f377a762665703d76315f676966735f736561726368267269643d67697068792e6769662663743d67

— Reply to this email directly, view it on GitHub https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/927#issuecomment-2010415191, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMUMLZI2TN62N6SYJ7JCMNLYZHNUDAVCNFSM6AAAAABA2G5SZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJQGQYTKMJZGE . You are receiving this because you commented.Message ID: @.***>

FlameSoulis commented 7 months ago

Bumping. Also a problem. My hands are now in my hips in a highly questionable position.

shiftyscales commented 7 months ago

Do not bump issues, @FlameSoulis. We're aware this is an issue.

LucasRo7 commented 6 months ago

This bug has JUST happened to me(as it frequently does), but this time it was different Apparently my head+hands avatar wasn't affected, so it took me a while to realize it happened I noticed it because I couldnt use the dash or keyboard, since the userspace hands were stuck

I also realized that the Left/Right Hand slots under my user were stuck at position 0,0,0, rotation 0,0,0, but the Left/Right Controller slots were still tracking perfectly fine

Here's a picture of it: 2024-05-02 01 21 37

Edit: Apparently finger poses are also messed up, all the rotations for the finger bones are NaN, as you can see in this picture: 2024-05-02 02 12 11

I hope this information helps diagnose the issue. It is really frustrating having to restart the game everytime this happens

epicEaston197 commented 5 months ago

This bug happened to firr and I had a stupid ideal to parent their hand proxies to their left and right controller slot in their user root resetting the transforms and their movement of their hands came back image image

shiftyscales commented 5 months ago

@epicEaston197 - Did they still continue to be tracked if you then removed them from the controller slots? Otherwise, it's probably the same point @LucasRo7 raised- where for some reason the controller body nodes are still getting streamed values, but the hand body nodes aren't for some reason.

I wish I had access to a SteamLink compatible headset so I could investigate this issue more first-hand- but unfortunately the SteamLink app is not supported on the Quest 1.

epicEaston197 commented 5 months ago

@epicEaston197 - Did they still continue to be tracked if you then removed them from the controller slots?

No if I remove the hand proxies from the controller slots the hands stop moving

shiftyscales commented 5 months ago

Okay- so as suspected/reported above- it's just that the controller body nodes are continuing to receive streamed transforms, but the hand nodes are not. Thanks.

ko-tengu commented 4 months ago

Something happened in the last couple of updates to affect this issue and make it a lot more common and have a second level of failure state where your controllers are still tracked but wrong. Steamlink has become almost entirely unusable in Resonite because any small stutter or step outside of my guardian will cause my hands to break instantly. I put this on the Pico issue above but it's been constant since then. BUFU.-.2024.6.11.74.-.2024-06-15.01_53_42.log

Immedately after posting this I half-triggered it and have a video of the new and exciting failure state on only one hand.

https://github.com/Yellow-Dog-Man/Resonite-Issues/assets/89536622/631867a0-2633-4d03-9e2f-254ca9565473

ModernBalloonie commented 2 months ago

With the latest steamvr/steam link beta, this problem is even worse. For one: Eye tracking doesn't work, and 2: my hands can end up going to root after pressing the oculus button a few times, and then the game can crash.

I'd reccomend watching this video in it's entirety:

https://github.com/user-attachments/assets/283ea35b-14d0-4de1-a3c9-706ea0db5853

Also here's my log file from that session. DESKTOP-QBGCSAQ - 2024.8.5.1341 - 2024-08-16 23_07_27.log

ModernBalloonie commented 2 months ago

Also I think it has to do with the fact that steam link added hand tracking in the beta, perhaps. I don't really know.

MargoSizemore commented 2 months ago

Also I think it has to do with the fact that steam link added hand tracking in the beta, perhaps. I don't really know.

We've noticed similar things happen if you switch to and from hand tracking in Virtual Desktop, but we can't remember exactly what happens, and we haven't unpacked enough at our new place to do any testing.

Frooxius commented 3 weeks ago

@alexderpyfox You included only small log excerpt, which is missing a lot of important stuff. We cannot diagnose anything from this, we need full log.


@ModernBalloonie I checked your log, your issue is this one: https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/2945

This should be addressed by the prerelease


It's important to separate issues here from ones in the Steam Link Beta and the normal one, because there's a few separate issues here likely.