EricBatlle / UnityAndroidSpeechRecognizer

🗣️ Speech recognition on Unity and Android without the annoying google popup!
MIT License
59 stars 12 forks source link

The result of the speech did not show up in my UI #16

Closed nardeuibnida closed 1 year ago

nardeuibnida commented 1 year ago

Hi! Thank you for the plugin. I have an issue after I implementing your scripts to my own UI. My build apk does not record any speech after I record my voice. Is there some unity setting for it? My device is Samsung A02s and the app has microphone permission. I am using Microsoft Visual Studio 2019 to write all my scripts. Thanks a lot for your help!

EricBatlle commented 1 year ago

Hello! Do you have any logcat or Unity logs so I can dig Up a little bit on what's going on?

If you run the plugin on the editor It show some warning? So we can know if the issue is about your integration on the plugin in your project or something external.

nardeuibnida commented 1 year ago

Unity Log

Here it is. There's no error just a warning.

EricBatlle commented 1 year ago

Okey that's expected, and did you try to debug the build? Show me the logcats please

nardeuibnida commented 1 year ago

I am sorry, do you mean debug the build in Visual Studio? I only play the scene in Unity to test the UI. And one more, where to find the logcats? Is it in Visual Studio?

EricBatlle commented 1 year ago

On Android Studio: https://developer.android.com/studio/command-line/logcat?hl=es-419

nardeuibnida commented 1 year ago

I am sorry to ask, if your project compatible with Visual Studio because I do my project in Unity and scripting in Visual Studio. No Android Studio used in my project.

EricBatlle commented 1 year ago

But if you want to debug an apk on your device or a virtual one, you need to use Android Studio or use the Android Logcat Package: https://docs.unity3d.com/Packages/com.unity.mobile.android-logcat@0.1/manual/index.html

I've never used this package, I always debug android builds with Android Studio.

EricBatlle commented 1 year ago

Since there haven't been any recent updates, I am going to close this issue.

@nardeuibnida if you're still experiencing this problem and want to continue the discussion just leave a comment here and I'll be happy to re-open this.