Placeholder-Software / Dissonance

Unity Voice Chat Asset
71 stars 5 forks source link

User A can hear user B's voice but user B cannot hear A's voice #223

Closed HarshitBhatt008 closed 3 years ago

HarshitBhatt008 commented 3 years ago

When i connect with 2 user. User A can hear user B's sound but user B cannot hear A's sound and receiving 2 errors. 1. [Dissonance:Recording] (09:13:04.847) BasePreprocessingPipeline: Error: Unhandled exception killed audio preprocessor thread: Dissonance.DissonanceException: Error: Cannot associate preprocessor with Playback filter - one already exists! This is probably a bug in Dissonance, we're sorry! Please report the bug on the issue tracker "https://github.com/Placeholder-Software/Dissonance/issues". You could also seek help on the community at "http://placeholder-software.co.uk/dissonance/community" to get help for a temporary workaround. Error ID: D5862DD2-B44E-4605-8D1C-29DD2C72A70C at Dissonance.Audio.Capture.WebRtcPreprocessingPipeline+WebRtcPreprocessor.SetFilterPreprocessor (System.IntPtr preprocessor) [0x0005e] in E:\UnityProject\Jayesh\MeetIn-VR-PC\Assets\Plugins\Dissonance\Core\Audio\Capture\WebRtcPreprocessingPipeline.cs:377 at Dissonance.Audio.Capture.WebRtcPreprocessingPipeline+WebRtcPreprocessor.Reset () [0x00061] in E:\UnityProject\Jayesh\MeetIn-VR-PC\Assets\Plugins\Dissonance\Core\Audio\Capture\WebRtcPreprocessingPipeline.cs:329 at Dissonance.Audio.Capture.WebRtcPreprocessingPipeline.ApplyReset () [0x0000e] in E:\UnityProject\Jayesh\MeetIn-VR-PC\Assets\Plugins\Dissonance\Core\Audio\Capture\WebRtcPreprocessingPipeline.cs:64 at Dissonance.Audio.Capture.BasePreprocessingPipeline.ThreadEntry () [0x00009] in E:\UnityProject\Jayesh\MeetIn-VR-PC\Assets\Plugins\Dissonance\Core\Audio\Capture\BasePreprocessingPipeline.cs:224 ! This is probably a bug in Dissonance, we're sorry! Please report the bug on the issue tracker "https://github.com/Placeholder-Software/Dissonance/issues". You could also seek help on the community at "http://placeholder-software.co.uk/dissonance/community" to get help for a temporary workaround. Error ID: 02EB75C0-1E12-4109-BFD2-64645C14BD5F UnityEngine.Debug:LogError(Object) Dissonance.LogMessage:Log() (at Assets/Plugins/Dissonance/Core/Log.cs:69) Dissonance.Logs:WriteMultithreadedLogs() (at Assets/Plugins/Dissonance/Core/Log.cs:87) Dissonance.Editor.Windows.Startup:Update() (at Assets/Plugins/Dissonance/Editor/Windows/Startup.cs:33) UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

2.

[Dissonance:Recording] (09:13:04.881) WebRtcPreprocessingPipeline: Failed to clear preprocessor from playback filter. Editor restart required! UnityEngine.Debug:LogError(Object) Dissonance.LogMessage:Log() (at Assets/Plugins/Dissonance/Core/Log.cs:69) Dissonance.Logs:SendLogMessage(String, LogLevel) (at Assets/Plugins/Dissonance/Core/Log.cs:98) Dissonance.Log:WriteLog(LogLevel, String) (at Assets/Plugins/Dissonance/Core/Log.cs:181) Dissonance.Log:WriteLogFormat(LogLevel, String, String) (at Assets/Plugins/Dissonance/Core/Log.cs:190) Dissonance.Log:Error(String, String) (at Assets/Plugins/Dissonance/Core/Log.cs:431) Dissonance.Audio.Capture.WebRtcPreprocessor:ClearFilterPreprocessor(Boolean) (at Assets/Plugins/Dissonance/Core/Audio/Capture/WebRtcPreprocessingPipeline.cs:425) Dissonance.Audio.Capture.WebRtcPreprocessor:ReleaseUnmanagedResources() (at Assets/Plugins/Dissonance/Core/Audio/Capture/WebRtcPreprocessingPipeline.cs:448) Dissonance.Audio.Capture.WebRtcPreprocessor:Dispose() (at Assets/Plugins/Dissonance/Core/Audio/Capture/WebRtcPreprocessingPipeline.cs:458) Dissonance.Audio.Capture.WebRtcPreprocessingPipeline:Dispose() (at Assets/Plugins/Dissonance/Core/Audio/Capture/WebRtcPreprocessingPipeline.cs:58) Dissonance.Audio.Capture.CapturePipelineManager:StopTransmissionPipeline() (at Assets/Plugins/Dissonance/Core/Audio/Capture/CapturePipelineManager.cs:292) Dissonance.Audio.Capture.CapturePipelineManager:RestartTransmissionPipeline(String) (at Assets/Plugins/Dissonance/Core/Audio/Capture/CapturePipelineManager.cs:316) Dissonance.Audio.Capture.CapturePipelineManager:Update(Boolean, Single) (at Assets/Plugins/Dissonance/Core/Audio/Capture/CapturePipelineManager.cs:206) Dissonance.DissonanceComms:Update() (at Assets/Plugins/Dissonance/DissonanceComms.cs:705)

any help i need it urgently.

martindevans commented 3 years ago

Did you try restarting the editor after that second error message?

These errors sometimes happen but they're quite rare and most importantly seem to be editor only. We haven't completely tracked down the root cause yet, but it seems to be some kind of issue in the way Unity handles audio plugins.

HarshitBhatt008 commented 3 years ago

Thanks for support. I have resolved this error after restarting the Unity. also i have made build and its working perfectly.