AudioStreamPlayer with effect Record in Android is causing the application to exit (segfault in GodotJavaWrapper::request_permission) #46832
Description
Godot version:
Godot 3.2.4 RC4
OS/device including version:
Android 10
Issue description:
Playing an AudioStreamPlayer with effect Record in Android is causing the application to exit.
Also, on 3.2.3 the application is asking the proper Microphone permission, where in 3.2.4 is not. In export permissions both "Capture Audio Output" and "Record Audio" are set, as well as "Enable Audio Input" in project settings. Maybe there is something missing here.
The output I have is this
`--- Device API >= 21; debugging over USB ---
--- DEVICE API >= 21; DEBUGGING OVER USB ---
Reverse result: 0
--- Debugging process started ---
Godot Engine v3.2.4.rc4.official - https://godotengine.org
OpenGL ES 2.0 Renderer: Adreno (TM) 618
OpenGL ES Batching: ON
--- Debugging process stopped ---
platform/windows/os_windows.cpp:2965 - Condition "!process_map->has(p_pid)" is true. Returned: FAILED`
Steps to reproduce:
Using Audio Mic Record Demo to reproduce
Export to Android using 3.2.3 - Works fine
Export to Android using 3.2.4 RC4 - Crashes upon start (due to the autoplay of the AudioStreamRecord)
Minimal reproduction project:
https://godotengine.org/asset-library/asset/527
Metadata
Assignees
Type
Projects
Status
Done