Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android Editor] crashing after creating a new AudioStreamMicrophone #73801

Closed
ArkellArt opened this issue Feb 23, 2023 · 2 comments · Fixed by #77686
Closed

[Android Editor] crashing after creating a new AudioStreamMicrophone #73801

ArkellArt opened this issue Feb 23, 2023 · 2 comments · Fixed by #77686

Comments

@ArkellArt
Copy link

ArkellArt commented Feb 23, 2023

Godot version

v3.6.beta.custom_build [42083f3a6]

System information

Android 11, MediaTek Helio P35 (32bit), PowerVR Rogue GE8320, also tested on: Android 10, Snapdragon 636, Adreno 506,

Issue description

When trying to use the microphone input in an AudioStreamPlayer node on the godot android editor, unexpectedly crashes after a few seconds regardless of whether it is a new project or not.
If the initial scene has an AudioStreamPlayer node configured with an AudioStreamMicrophone it will continuously close, not allowing to start.

Steps to reproduce

1: Create a new project or use a existent one.
2: Press "Project" and "Project Settings"
3: Go to "Audio" and activate "Enable Audio Input"
4: After restarting, create an AudioStreamPlayer Node
5: On Stream, add a new AudioStreamMicrophone

Wait a few seconds until it crashes

Minimal reproduction project

Use a New Project

@m4gr3d
Copy link
Contributor

m4gr3d commented May 30, 2023

This could be an issue due to the lack of microphone permission in the Android editor, I'll take a look.

@m4gr3d m4gr3d self-assigned this May 30, 2023
@ArkellArt
Copy link
Author

This could be an issue due to the lack of microphone permission in the Android editor, I'll take a look.

It still happens in the most recent version of Godot 3.6 (beta 2).
I don't know how the audio drivers work as if they work at all, however, if they work, adding the microphone permission in addition to the storage permission may probably fix the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants