Placeholder-Software / Dissonance

Unity Voice Chat Asset
71 stars 5 forks source link

No Microphone input on OSX #189

Closed Aiviator closed 4 years ago

Aiviator commented 4 years ago

Context

When running the demo app for dissonance using darkrift2 free server on a mac no audio is transmitted from the Mac

Expected Behavior

Audio is transmitted to connected clients

Actual Behavior

No audio is transmitted from a mac, both on windows and linux it is working fine. It was tested on a different mac with High Sierra 10.13.6 with the same results.

Workaround

Use a windows or linux system

Steps to Reproduce

  1. Install Dissonance voice chat
  2. Install darkrift2 server
  3. Install dissonance for darkrift2
  4. Run the demo app on a linux machine and a mac machine and connect to darkrift2 server.
  5. Tick the box in the left bottom corner : global chat enabled.

Your Environment

martindevans commented 4 years ago

Hi Aiviator

Someone on Discord has recently reported this same issue - in his case it was a permission issue. To quote:

Found a solution. I've added the NSMicrophoneUsageDescription to the info.plist using a PostProcessBuild script.

We'll investigate to see if there's an easier way to do this and will update the documentation for MacOS platform requirements soon.

martindevans commented 4 years ago

I have updated the relevant documention to include a link to the Unity docs on permissions and the apple docs on the specific Microphone usage permission.