Neos-Metaverse / NeosPublic

A public issue/wiki only repository for the NeosVR project
197 stars 9 forks source link

Laser for interacting break's frequently #1706

Closed Ardescar closed 2 years ago

Ardescar commented 3 years ago

Describe the bug

This is about a "Laserbug" - something appears to prevent the laser in neos from working and causes other issues too.

In Neos the laser for interacting with the UI does start to flicker sometimes and is then 99% not usable for interaction with the user interfaces anymore. It respawns the user "randomly".

When this happens - The IK is breaking - the locomotion is breaking. Solution is - if that happens - only a neos restart.
So far i only know about 2 people in neos that have the bug. I have collected Videos and logfiles from Atomicwave and CyberZott.

Relevant issues

There is no other open issue that does have the same content.

To Reproduce

This is not able to be reproduced so far - i didnt find a way.

when

We did run out of things to try.

Hardware

CyberZott's PC CPU: Intel Core i7-7700 GPU: nVidia GeForce GTX 1660 Super RAM: Corsair Vengeance LPX 16 GB (2 x 8 GB) DDR4 2400 MHz VR Headset: Oculus Rift CV1 - Native Oculus Neos VR build

atomicwave's PC CPU: Intel Core i7-8700K GPU: nVidia GeForce GTX 1080 RAM: 16 GB (2 x 8 GB) DDR4 2400 MHz VR Headset: HTC Vive - SteamVR Neos VR build

Video / Logfiles

How does it look like for other ppl -> https://www.strzl.de/video/2021-01-12-laserbug.mp4

Several videos from Cyber's perspective over the past weeks -> about 6 mins - to show the bug and the maybe correlated issues -> https://youtu.be/yl_38V1sg68 (logfiles from the videos in the zip file)

I have collected allot logfiles and uploaded them. -> https://strzl.de/upload/laserbug-log-files.zip

Bug information:

Additional context

Sometimes it breaks locomotions and/or ik when its happening. (breaks = its not working or behaving strange) The laser flickering bug sometimes rarely seems to go away for some moments to let you klick somewhere... It is there since at least early Summer 2020.

A complete reinstall of neos didnt help - even with cleaning cache and assets and registry. Also installing neos to a different drive didnt help.

The laser settings have been reset several times.

Person's that have the bug:

CyberZott - CyberZott#5567 (Bug happens average every 2 Days) Atomicwave - EvawdnousCimota#2730 (Bug happens average every 4 Days)

Reporter:

Ardes - Ardescar#2046

Additional description from CyberZott - Laserbug issues:

__These things always happen: I will randomly respawn. Opening the context menu on one hand, then the other can also result in a respawn. I will no longer be able to move around using physical locomotion, even if I can select it. I just won’t be able to move.

__Other things I’ve noticed but that don’t always happen: I will notice avatars very quickly moving back to spawn and then back to the user. This usually happens so quickly that it looks like they flash. IK will usually break for other users. Things like feet moving up to the shoulders or avatars leaning when they shouldn’t be. I will get kicked back to my local home with the “World Crashed” error even though the session is still working for others. Sometimes the laser will start to work again but sometimes I will only be able to click the last item on the dash. To explain further, the bottom of the dash will only highlight the close button and the top of the dash will highlight the last option available such as the “send voicemail” option in the contact’s screen. The lasers “recovering” is usually temporary and they will break again. The online contact notification will be darker as if it is highlighted and my lasers will flicker even if I don’t have them active.

Ardescar commented 3 years ago

Also with the current Neos-Version the Bug is still existing - LogFile from Today - from Atomicwave. HOME_-2021.2.3.616-_2021-02-03_17_13_09.log

Frooxius commented 3 years ago

Thanks for the info. It seems like there is something corrupted in the environment, particularly a collider, that's feeding NaN's into the system. I've added guards to prevent that from breaking the lasers in the next build, but you might want to check if there's anything in the world that might be triggering this.

E.g. does this happen only in particular world? Or when particular items are around? If you could find in which world it happens or which items triggers it, could you send it to me for testing so I can better isolate where it's coming from?

It's a bit odd that it would happen anywhere and in any avatar. Even with fresh setup, given that not too many people seem to have encountered this.

Frooxius commented 3 years ago

I've pushed some fixed in 2021.2.7.1345. It doesn't likely fix the underlying issues though, but can you check if it makes any difference please?

Ardescar commented 3 years ago

Yes we will look into it if this is changing anything. And we still trying to find the cause. But so far - there is no special world or avatar or item involved. I tried allot to reproduce it on my system. Thank you.

shiftyscales commented 3 years ago

Hey @Frooxius - I believe I've identified a potential source of this issue with a report from Espa#1302.

If I take off my headset, the laser will stop responding to clicks on interfaces, etc.

What was happening in Espa's case, their headset (G2) was momentarily being disconnected due to USB issues which would reset the state of the presence sensor. It would think they weren't in the headset.

I think that might potentially be what's happening in the case of the other users too.

Ardescar commented 3 years ago

With the past patch the laser is not flickering that much anymore ... ... but its still breaking at some point. And it still has the NaN visible in the log.

I was wondering if this is a result of special or "faulty" hardware inputs from different hardware setups.  

Descriptions of what happened after Patch

Atomicwave did have a respawn and a breaking locomotion. (physical locomotion is not working - while fly or noclip is) This was earlier always in correlation with "Laser Bug" and also with breaking dash.

Cyberzott did got kicked out of a world while being afk - neos said  "the world crashed" but the world was still running. (this was also often the same time happening while/with the "laser bug")  It also did break the dash again. And the laser was not flickering - but it was just a disk.

Additional 

"Breaking Dash" means that only the last button in dash-bar or dash-window can be clicked. and its always selected. You can't click anywhere else you always click the last button. So for example in the lower dash bar - Exit is always selected.  Sometimes it does work for a briefly moment again - then breaks again.

We found the User Azioinferno (AzioInferno#0831) and he does have that issue around every few days. For him the main issue is having a breaking UI/dash and he can only press the last dash/window button.  He joined neos a month ago - and he uses a CV1.   I personally had this breaking dash myself i guess one time in the past. With that in mind i searched my logfiles for NaN and i found at least one time that i had one with invalid bounds in my laser. This was 3 Months ago and i also was respawned by destroying user.

In general

So the patch did reduce the laser flickering, but all the other things, that usually randomly happened same time, like:

is still existing.

Logfiles

CyberZott - H170-PRO_-2021.2.7.1345-_2021-02-08_14_50_08.log Atomicwave - HOME_-2021.2.7.1345-_2021-02-08_14_45_11.log

Hardware?

Hardware/Software ? - because a new created account does have the same issues. A clean reinstallation does not change anything. A avatar change doesnt seem to do anything. It was in any world and with different ppl - and even alone. it seems to happen to some Hard/Software setups more often. So eventually a CV1 User could have this more often. Eventually it happens more often in longer sessions - but this could be coincidence.

Ardescar commented 3 years ago

Here a separate video for the dash behavior when the input is "breaking". https://www.youtube.com/watch?v=AsTi6k0rZMs From what i can see so far there is no information in the log when the UI is behaving like this. (its a big logfile over several hours)

Ardescar commented 3 years ago

Update from Cyber when the laser interaction with the context menu and selection in dash did break again.

H170-PRO - 2021.3.12.44 - 2021-03-14 22_46_40.log

https://user-images.githubusercontent.com/63201013/112040665-c770e100-8b45-11eb-8731-801e52bad5fd.mp4

Ardescar commented 3 years ago

A logfile from Atomic - he got suddenly respawned - and was not able to move in physical locomotion and the lasers didnt work then fps did eventually go down. (usually also dash interaction not possible because always the last dash entry is selected when klicking - and the context menu does not work because the laser is flickering - or null)

HOME_-2021.3.16.1287-_2021-03-22_17_06_15.log

Ardescar commented 3 years ago

If I take off my headset, the laser will stop responding to clicks on interfaces, etc. What was happening in Espa's case, their headset (G2) was momentarily being disconnected due to USB issues which would reset > the state of the presence sensor. It would think they weren't in the headset. I think that might potentially be what's happening in the case of the other users too.

Both - Atomic and Cyber did try to put down their Headsets - and did put them back on - but this didnt solve the issue. Also going Desktopmode and back didnt solve it - it did even mess up the desktop mode. We also tried to shut off the controller and on again - but this didnt change anything.

Ardescar commented 3 years ago

Update again: It seems to happen these days a bit more often.

Description about all wierd things inside the Video below: Unable to grab anything with my grab spheres. Laser appears on context menu only when moving with the analogue stick. I could only move because I was already in noclip locomotion. I switched to physical and couldn't move, only rotate. I then couldn't switch back to noclip as I couldn't move with the analogue stick. The guide laser (when you press trigger and the laser turns on) looks fine until it moves over something grabbable. When this happens the laser dissapears again. If I grab whilst the laser is gone I actually grab the object but it pushes the object out in front of me instead of staying where it is. Physical buttons however worked fine. My dash would only let me pick the very last menu item. My game then crashed. I don't recall doing anything to cause the crash.

H170-PRO - 2021.3.25.446 - 2021-03-26 16_33_43.log

https://strzl.de/video/2021.03.26-17.57.21.02.mp4

Ardescar commented 3 years ago

Here the mentioned bug with being in in desktop mode too - so the mouse did not work and like no klicking possible. Also rotating avatar in desktop mode is not working when the laser is bugging.

https://strzl.de/video/2021.04.05-00.05.14.03.mp4

H170-PRO - 2021.4.2.690 - 2021-04-04 19_51_59.log

Ardescar commented 3 years ago

Ahoi, Just want to write a update. The bug is still existing and alife and occuring every day!

It also seems to happen sligtly more often currently and - as said - its also happening in desktop. And it also happens if you only launch neos in screenmode without even using VR.

Here is a fresh logfile from today with some errors!!! H170-PRO - 2021.5.24.1203 - 2021-05-25 11_11_16.log

Ardescar commented 3 years ago

Yesterday i was attached onto one Avatar of a Player that did start to have the Bug - and it did respawn us both suddenly, without us doing anything special, by forcing us both into floatpoint errors. After that the Laser was broken.

The only really existing similarity currently is that they have the same ram: Corsair Vengeance LPX 16 GB (2 x 8 GB) DDR4 2400 MHz I higly doubt it is the RAM but ... its the only breadcrumb ... also all other games and software and vr applications are running fine.

H3BO3 commented 3 years ago

I experienced something like this today. It seemed to be relegated to a single session - No NaN errors, no notable exceptions, once I left the session my laser worked fine again.

What happened was a laser sometimes failed to be produced from my tooltips and hand - I couldn't interact with inspectors, couldn't click video players, nothing. I think it was possible that the reticule was still being produced and casting correctly? But I'm having trouble remembering now. There were no hovering events on the inspector buttons, etc.

Ardescar commented 3 years ago

Hey H3BO3

Also this bug-behaviour and the variety of things that happen is everytime a bit different - it can crash you (your world) - respawn you - or just no interaction possible - or sometimes the locomotion and the Ik of other avatars is messed (only visible for the user with the bug) - etc ... - most of the time there is not even a entry in the logfiles that tell that something did happen.

In your case and in general -> most of the time when your not able to click anything its a collider that blocks the laser. This bug here tho ... is a riddle to me. I tried allot things to reproduce :P

Iam tempted to rebuild one of their pc systems to see if it happens.

Ardescar commented 2 years ago

Thank you all for helping and support. The issue with this behaviour seems to got fixed by some updates around one Month ago. Till now i did not hear any new complains or issues - even tho i did find someone else who did suffer from this too. So it was not that rare.

Closed.