Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Smoothy101's avatar
Smoothy101
Explorer
3 years ago

Voice SDK V56 not working on Quest (Android)

Hello dear friends,

I recently downloaded the Phanto project to test out the new room scanning capabilities.
I added the Voice SDK to this project V56, and this works great in the editor.

However, when I make an Android build for the Quest 3 it seems very much so that none of the Android-specific code works properly. It doesn't seem to initialize the voiceServiceImpl or the logger.

Now since it works on PC without any issues I'm 100% sure it's a small fix but for the life of me I can't figure it out.

Code in InitSDK:

#if UNITY_ANDROID && !UNITY_EDITOR
            VLog.I("Android specific code");

            if (UsePlatformIntegrations)
            {
                VLog.I("We are using platform integrations");
                Debug.Log("Checking platform capabilities...");
                var platformImpl = new VoiceSDKImpl(this);
                platformImpl.OnServiceNotAvailableEvent += () => RevertToWitUnity();
                platformImpl.Connect(PACKAGE_VERSION);
                platformImpl.SetRuntimeConfiguration(RuntimeConfiguration);
                if (platformImpl.PlatformSupportsWit)
                {
                    voiceServiceImpl = platformImpl;
                    VLog.I("Supports WIT");



                    if (voiceServiceImpl is Wit wit)
                    {
                        wit.RuntimeConfiguration = witRuntimeConfiguration;
                        VLog.I("Setting Runtime Config");

                    }

                    voiceServiceImpl.VoiceEvents = VoiceEvents;
                    voiceServiceImpl.TelemetryEvents = TelemetryEvents;
                }
                else
                {
                    VLog.I("Platform registration indicated platform support is not currently available.");
                    Debug.Log("Platform registration indicated platform support is not currently available.");
                    RevertToWitUnity();
                }
                if(voiceServiceImpl==null)
                {
                    VLog.I("Voice Service Impl Failed");
                }
            }
            else
            {
                VLog.I("No platform **bleep**");
                RevertToWitUnity();
            }
#else



Logcat:

As you can see it doesn't log anything anymore after 'using platform integrations' so something goes wrong any help would be appreciated. 

1 Reply

Replies have been turned off for this discussion
  • I'm having the same issue here with Voice SDK 56 & 57. Works fine in the editor Oculus link. With build to Quest 2, it initialises and is listening but once a sound is made, it stops listening and says the request failed.