khanhuitse05 / speech-and-text-unity-ios-android

Speed to text in Unity iOS use Native Speech Recognition
MIT License
286 stars 124 forks source link

(Unity)Doesn't work in different project. #62

Open helliodon opened 2 years ago

helliodon commented 2 years ago

@j1mmyto9 @campbell-codes @jack19910609 @elblogbruno @calvma First! Thank you for the project! Android build. Unity 2021.1.13f1 I've copied all files from the repository to my project and load the SampleScene. Made a build, nothing works. But if I make a build via cloned project from Github - everything works. Seems I miss some settings setup or something else..

aneeb111 commented 2 years ago

@j1mmyto9 @campbell-codes @jack19910609 @elblogbruno @calvma First! Thank you for the project! Android build. Unity 2021.1.13f1 I've copied all files from the repository to my project and load the SampleScene. Made a build, nothing works. But if I make a build via cloned project from Github - everything works. Seems I miss some settings setup or something else..

Can you describe the error?

Bahar7800 commented 2 years ago

i have the same problem. When i tested android build via the project on my phone and everything was okay. but then, when I copied the files to another project and made a build, the apk build crashes after the splash screen. there is no error in the phone and unity either. please answer my question. this project is really good and I really need it.

helliodon commented 2 years ago

I solved this problem by replacing the AndroidManifest file under the Plugins folder. I have Facebook settings into my AndroidManifest, so, I've added Speech and Text AndroidManifest lines into mine, but seems I missed something. When I replaced mine with Speech and Text and added my Facebook settings, everything started to work.

Bahar7800 commented 2 years ago

I did that to but it didnt work. But when i created two game objects and changed their name to TextToSpeech and SpeechToText, everything worked. By the way, thank for replying my question.

در تاریخ پنجشنبه ۹ دسامبر ۲۰۲۱،‏ ۰۹:۴۵ Eugene Migursky < @.***> نوشت:

I solve this problem by replacing the AndroidManifest file under the Plugins folder. I have Facebook settings into my AndroidManifest, so, I've added Speech and Text AndroidManifest lines into mine, but seems I missed something. When I replaced mine with Speech and Text and added my Facebook settings, everything started to work.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/j1mmyto9/Speech-And-Text-Unity-iOS-Android/issues/62#issuecomment-989548175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWPBLM6QXMK7WFYLHZGKEN3UQBCPFANCNFSM5DVHXYZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.