oculus-samples / voicesdk-samples-whisperer

Oculus Voice SDK showcase demonstrating the use of Voice SDK in Unity. This project contains the source code for the "Whisperer" demo available on App Lab. The Oculus SDK and other supporting material is subject to the Oculus proprietary license.
MIT License
57 stars 18 forks source link

Getting error running application, saying wit not initialised #14

Closed KUSACON closed 10 months ago

KUSACON commented 1 year ago

StackTrace

You need to configure Wit before running this project! UnityEngine.Debug:LogError (object) Whisperer.LogosController:StartApp () (at Assets/Whisperer/Scripts/Logic/LogosController.cs:97) Whisperer.LogosController:Fade (single) (at Assets/Whisperer/Scripts/Logic/LogosController.cs:76) Whisperer.Progress:InvokeCallback () (at Assets/Whisperer/Scripts/Utility/TimerUtils.cs:318) Whisperer.Progress:Update (single) (at Assets/Whisperer/Scripts/Utility/TimerUtils.cs:124) Whisperer.TimerUtils:Update () (at Assets/Whisperer/Scripts/Utility/TimerUtils.cs:20)

I have followed the Readme file and created an application in wit.ai and correctly copy pasted it's tokens, still getting the error

SavioMenifer commented 1 year ago

You have to assign a reference to Wit configuration asset in the script called "App Voice Experience". This script can be found in the "Loader" scene under the "Management" GameObject.

The readme could definitely use a bit more clarity on how to properly assign the Wit config asset.

rokeyge commented 10 months ago

Updated the readme as suggested with more details.