Original Discord Post by heywood_floyd | 2024-10-18 16:05:46
I’m working on a Unity app for Quest3. Everything works well until you pause the application using the Meta button on the right controller. When you resume the application, you no longer hear from the AI character. It also no longer responds to voice queries from the user (we don’t have a way to send text directly to the AI.)
Pausing a run in the Unity editor using its, the editor’s, pause button doesn’t have this effect.
Sorry I’m so late getting back to you on this. In the video, you hear the AI character give a little speech from the start of its narrative design. After pausing, the user went to the sandtable, which sent a narrative design trigger that should have caused the AI to explain the table. The user also asks a question using out push-to-talk, but gets no response.
Sorry I had to break it into 2 parts. To make it fit the upload limit, I had to trim out a little of the pause/resume action, but that’s all that was happening: the user was pausing it, and then resumed.
Learned that coroutines are stopped when you pause the app in a Quest HMD… There were some coroutines in ConvaiNPC and ConvaiActionsHanger that were not relaunched in OnEnable.