com.unity.webrtc icon indicating copy to clipboard operation
com.unity.webrtc copied to clipboard

[BUG]: Unity crashes on Windows when permission to the microphone is denied

Open Pacman18 opened this issue 3 years ago • 6 comments

Package version

2.4.0-exp.5

Environment

* OS:Windows10
* Unity version:2020.3.1f

Steps To Reproduce

  1. project down load from git
  2. Open UnityEditor
  3. Select Scene : Audio ( include SampleScene )
  4. off mic permission Microphone
  5. Play Editor or After Bulid App, Start Play MicCheck

Current Behavior

this case occur on Windows Platform.

Permission settings can only be set once initially Start App, and if you decline at that time, they will not appear again

Expected Behavior

if microphone denied then showwing permission pop or not crashes.

Anything else?

sorry my English explain so bad.

Pacman18 avatar Feb 11 '22 02:02 Pacman18

@Pacman18 Thanks for sharing the issue!

karasusan avatar Feb 14 '22 01:02 karasusan

etc) this is issue same on mixedrealitywebrtc

https://github.com/microsoft/MixedReality-WebRTC/issues/124

Pacman18 avatar Feb 14 '22 09:02 Pacman18

@Pacman18 nice. looks this fix we should also apply to our project. https://github.com/microsoft/MixedReality-WebRTC/pull/507

karasusan avatar Feb 14 '22 09:02 karasusan

memo: WRS-232

karasusan avatar Feb 15 '22 03:02 karasusan

WebRTC. Initialize(WebRTCSettings.LimitTextureSize,true); During initialization, if enableinatelog is true, the program will get stuck, including sample. @karasusan

EricUUU avatar Apr 14 '22 14:04 EricUUU

@EricUUU Is your issue related this ticket? If no, I would be glad if you make new ticket for your issue.

karasusan avatar Apr 15 '22 01:04 karasusan