You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read all of the relevant Picovoice Porcupine docs
I have searched the existing issues for Porcupine
SDK
Unity
Porcupine package version
3.0.2
Framework version
Unity 2021.3.33
Platform
Windows (x86_64)
OS/Browser version
Windows10.0
Describe the bug
Subject: Error CS0246: Unable to Find PorcupineManager in Unity Script
Dear laves,
Firstly, I'd like to express my gratitude for your work on the Porcupine Unity package.
I'm encountering an issue while trying to use the PorcupineManager in Unity. Despite importing the Pv.Unity namespace using using Pv.Unity;I continue to receive the following error:Error CS0246: The type or namespace name 'PorcupineManager' could not be found (are you missing a using directive or an assembly reference?)
Could you please provide guidance on how to resolve this error?
I expect the PorcupineManager to be accessible and functional within my Unity script, allowing me to detect wake words as intended.Thank you for your assistance with this matter.
Best regards,
Jarvis
The text was updated successfully, but these errors were encountered:
Have you checked the docs and existing issues?
SDK
Unity
Porcupine package version
3.0.2
Framework version
Unity 2021.3.33
Platform
Windows (x86_64)
OS/Browser version
Windows10.0
Describe the bug
Subject: Error CS0246: Unable to Find PorcupineManager in Unity Script
Dear laves,
Firstly, I'd like to express my gratitude for your work on the Porcupine Unity package.
I'm encountering an issue while trying to use the PorcupineManager in Unity. Despite importing the Pv.Unity namespace using using Pv.Unity;I continue to receive the following error:Error CS0246: The type or namespace name 'PorcupineManager' could not be found (are you missing a using directive or an assembly reference?)
Could you please provide guidance on how to resolve this error?
Steps To Reproduce
1.download picovoice Unity sdk
2.code:
string accessKey = "${ACCESS_KEY}"; // // AccessKey obtained from Picovoice Console (https://console.picovoice.ai/)
List keywordPaths = new List()
{
"/path/to/keyword/file/one.ppn",
"/path/to/keyword/file/two.ppn"
};
string modelPath = "path/to/model/file.pv";
List sensitivities = new List(){ 0.25f, 0.6f };
PorcupineManager _porcupineManager = PorcupineManager.FromKeywordPaths(
accessKey,
keywordPaths,
OnWakeWordDetected,
modelPath: modelPath,
sensitivities: sensitivities,
errorCallback: OnError);
void OnError(Exception ex){
Debug.LogError(ex.ToString());
}
Expected Behavior
I expect the PorcupineManager to be accessible and functional within my Unity script, allowing me to detect wake words as intended.Thank you for your assistance with this matter.
Best regards,
Jarvis
The text was updated successfully, but these errors were encountered: