wit-ai / wit-unity

Wit-Unity is a Unity C# wrapper around the the Wit.ai rest APIs and is a core component of Voice SDK.
Other
78 stars 20 forks source link

Namespace Missing #80

Open Cr1s1981 opened 1 year ago

Cr1s1981 commented 1 year ago

Hi to all, i'm using unity 2021 , when I install wit.ai through the packet manager, I get these errors:

Library\PackageCache\com.facebook.witai@496b6eee92\Scripts\Editor\Utility\WitUnderstandingViewer.cs(13,18): error CS0234: The type or namespace name 'Dictation' does not exist in the namespace 'Meta.WitAi' (are you missing an assembly reference?)

Library\PackageCache\com.facebook.witai@496b6eee92\Scripts\Editor\Utility\WitUnderstandingViewerComposerServiceAPI.cs(9,18): error CS0234: The type or namespace name 'Composer' does not exist in the namespace 'Meta.WitAi' (are you missing an assembly reference?)

and others, also of namespace missing. I have also tried with older versions of unity and have the same errors.

If I add Wit.ai instead by adding the wit-unity-main package, I get these other errors.

Assets\wit-unity-main\Lib\Conduit\Editor\AssemblyMiner.cs(101,50): error CS0246: The type or namespace name 'ConduitValueAttribute' could not be found (are you missing a using directive or an assembly reference?)

Do you know how to help me? Thanks

yolanother commented 1 year ago

It is recommended that you install Voice SDK via the all in one oculus integration package or the standalone voicesdk unitypackage https://developer.oculus.com/downloads/package/oculus-voice-sdk/. Wit-unity is generally not stable for production use and can break in between releases. If you are using wit-unity via package manager you likely want to use one of the releases rather than tot main.