I’m making a small unity project and things were going well until I had to deal with the microphone. Here’s what I’m using to get Microphone input:
GameObject.FindWithTag("AppManager").GetComponent<AppManager>().recording.clip =Microphone.Start(null, false, 1, 44100);
while (!(Microphone.GetPosition(null) > 0)) { }
Debug.Log("recording has started");
… which hangs endlessly until I have to force stop Unity from task manager.
I’ve gotten all permissions I need using the recommended way by Unity here, but it’s still giving me the same problems.
Any help?