Neos-Metaverse / NeosPublic

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

Video player somehow causes audio to completely die #1532

Open alexderpyfox opened 3 years ago

alexderpyfox commented 3 years ago

Describe the bug

It happens randomly but happens with the video player where sometimes spawning one in it suddenly makes all audio gone till restart of neosvr

Relevant issues

I'm not sure yet if this exact issue has been reported yet

To Reproduce

Steps to reproduce the behavior: spawn video players sometimes it will do that

Expected behavior

That all audio will stop working till restart

Bug information (please complete the following information):

Reporters:

@alexderpyfox @rairu @fridaythefox

Frooxius commented 3 years ago

Would you be able to reformat your original post to exclude the sample text and include only the answers please? I've opened this issue a few times when looking for things to fix and I always get stuck trying to parse what the problem is about.

ProbablePrime commented 3 years ago

I tidied it up, I'm also hearing lots of other users reporting this issue or similar. I have encouraged them to submit their logs and information to this bug item.

Thanks

Frooxius commented 3 years ago

Ah thank you for tidying it up! My brain was just having trouble processing this.

I've never encountered this myself, so unless there's some way to replicate it it'll be tricky to fix.

GearBell commented 3 years ago

To answer Froox's questions: 1) Its video players, from the times its happened to me 2) closing the world does not help. I have to restart Neos every time. 3) Nothing out of the ordinary happens before or after. There is no audio pop or twitch or anything, it actually takes me a moment to notice cause I thought people were just being quiet. All Neos audio simply goes silent. Confirmed that all other audio outside of neos works just fine even during these silent glitches. According to the Audio Settings everything seems normal.

I have observed that the people who lose audio can still be heard - their microphones are still functioning and they sound normal. They just cant hear us. Its such a sneaky glitch that once it took me about 10 minutes to realize i had the glitch - I thought i was just chilling in the room with a friend in silence - turned out he was talking the whole time but thought i was ignoring him.

LogixKitten commented 3 years ago

This happened frequently at Creator Jam last night and was very repeatable as it happened to Medra, Turk, Vegasx, Cataena, Delta Echo, and myself (and those are just the ones I for sure know of). We first noticed it with the Video Playlist player but Medra tested and confirmed that Neos's built-in video player does the same thing. Unlike GearBell, I have personally noticed a loud audio pop occasionally when the bug happens.

uyjulian commented 3 years ago

I noticed that when it happens, a "Microsoft Visual C++ Runtime Library" error window appears on the desktop when the audio stops or repeats. The graphics and input still work fine. When I close the error window, the game will also close. The Unity crash report dialog does not appear.

TehTurk commented 3 years ago

Heyo o/ So here's some more insight if it helps. Nothing that I could have seen that was easily replicatable but I could see nothing that popped up in logs as exceptions that I could find when the event happened to me. Nor in the Player.Log. There was no sense of popping but it just seemed like "everything" died as I was talking because I noticed the music has just stopped. If you have steps for us to try that would be wonderful, I tried to find any indicator of what could of caused it but it just seemed like the Audio Engine "died, or like whatever was processing the audio hit a snag and just wouldn't start processing anymore. So I wonder if there's a difference between headsets for the different feedback that Occurs. I was on Index.

LogixKitten commented 3 years ago

To build off of Turk's thoughts, I doubt it is a headset specific issue as I use Rift CV1, Cataena uses Rift S, Medra uses an Oculus of some sort, and Vegasx uses an Index.

TehTurk commented 3 years ago

@Jerms12121 Ah no, I didn't indicate that, just some users have reported popping and honestly it could come down to how each headset handles their audio drivers to some extent. Hence why the responses or experiences might be different.

LogixKitten commented 3 years ago

Fair enough Turk, sorry for misunderstanding.

ProbablePrime commented 3 years ago

Could this be related somehow to: #849

Frooxius commented 3 years ago

Thank you for the info! With video players, do you know if they were using libVLC or Unity Native when this happens? Or does it not matter?

@uyjulian Hmm that error would indicate some fatal error in the Unity audio system or perhaps the Steam Audio spatializer or something like that. Does anyone else get this message as well?

@ProbablePrime Hmm it could be. Were Reverb Zones present in all cases when this has happened? Does removing them make the issue go completely away?

Medravr commented 3 years ago

I didn't test both video players but I think it was a libVLC. It is the player that is set on as default.

Logs have been sent via discord.

GearBell commented 3 years ago

The audio bug is still persisting. Spawning in a video player cuts off all audio. No crackle or pop, just immediate silence.

AshtonSparx commented 3 years ago

I haven't experienced this in a long time, however, I noticed sometimes Reverb Zones can cause audio to just fully stop working