Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by ramzx · Jul 07, 2019 at 06:12 AM · buildsoundmicrophone

IBM Watson Speech to Text not working in built app

I'm working in a project in Unity 3D that uses the Speech to Text service. It's quite simple and works fine in the Unity editor, but when I build the project it doesn't listen.

I'm working with a MacBook Pro and I export it to the same OS. I thought that it could be any problem in the rest of my code, or a corrupted project issue, so I have created a new empty project and I've followed the steps indicated in: https://github.com/watson-developer-cloud/unity-sdk When I open the scene Assets/Watson/Examples/ExampleStreaming it recognizes the speech in Unity, but when I export it the results are the same, it doesn't listen. I've checked the file permissions and I have added read and write for all users. Also I have entered in sound preferences in my OS and everything seems to be ok.

I've looked in the player logs (home/Library/Logs/Unity/Player.log) and it contains:

 Setting up 2 worker threads for Enlighten.
   Thread -> id: 70000bd59000 -> priority: 1 
   Thread -> id: 70000bddc000 -> priority: 1 
 debugger-agent: Unable to listen on 6
 ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1562101403605,"processId":465,"allocatedMemory":115452,"memoryLabels":[{"Default":1560},{"NewDelete":102552},{"Manager":256},{"GfxDevice":8656},{"Physics":32},{"Serialization":40},{"Terrain":88},{"String":1468},{"DynamicArray":72},{"PoolAlloc":-88},{"VR":536},{"SceneManager":280}]}

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by ramzx · Aug 23, 2019 at 08:19 PM

Definitely it was a problem with permissions. This happens randomly to me in Mac, mainly with the editor. The solution is to exit from the app / Unity, go to System Preferences > Security > Microphone, then remove the permission, and click it back again. If it doesn't work, after disable it, reboot the computer with the permission disabled and activate it again.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

118 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Distribute terrain in zones 3 Answers

Build Error: Microphone class is used but Microphone Usage Description is empty 3 Answers

GetSpectrumData doesn't update 2 Answers

Generating an Echo effect in Unity 3 Answers

Weird build issues - any suggestions? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges