What do you need help with?
Bug report
Issue area
Other
Impact
Major - a core flow is broken
Character ID
88aa3dc6-6ed0-11f1-a4a3-42010a7be02e
Session ID
40dc31e2b321c146d7a1c85a1333dad3
Where does it happen?
Not sure
Language
English, Turkish
Voice provider
ElevenLabs, Azure
Voice name
Yunxiao - Azure (currently), Tested ElevenLabs voices
Environment
Uneal Engine 5.7, Playcanvas SDK
Short summary
Intermittently, sent audio fails to transcribe to UI. gRPC stream delays cause premature OnAudioFinished. Exiting causes a crash.
User input
Okuldaki topluluklardan bahset (Or any input tested with both voice and text)
What happened?
Voice & UI Desync: Audio capture is logged (NumberOfAudioBytesSent increases), but transcription intermittently fails to reach the UI chat and generates no AI response.
Missing Session Logs: Unanswered/failed queries never register in the Convai Dashboard session history.
Premature OnAudioFinished: Stream packet drops starve the audio buffer, falsely triggering OnAudioFinished mid-sentence and cutting off the character’s speech.
Crash on Exit: Closing PIE or UE5 after initiating a conversation almost every time causes an Access Violation crash.
Isolation Tests:
- Network & Hardware: Reproducible across wired/wireless networks, multiple PCs, and blank UE projects.
- API Key: Persists with newly generated API keys (rules out auth/quota limits).
- PlayCanvas SDK: Shows severe text/audio stream desync (drops initial audio chunks and speaks more text than transcribed in the UI).
What did you expect?
Audio captured and verified by NumberOfAudioBytesSent in the logs should consistently transcribe to the UI chat and receive a response. The audio buffer should handle gRPC stream delays without triggering premature OnAudioFinished events. Finally, closing the engine should safely clean up the proxy without causing an Access Violation crash.
Steps to reproduce
- Open a UE 5.7 project with the Convai plugin.
- Send voice or text input. Voice data is sent (NumberOfAudioBytesSent increases), but UI transcription intermittently fails. Even when transcribed (or when using text), the AI frequently generates no response.
- Check Convai Dashboard Sessions (these failed queries are completely missing).
- When audio streams, buffer starvation triggers premature OnAudioFinished events, causing severe audio stuttering that worsens towards the end of the response.
- Close PIE/Editor after a conversation and observe an Access Violation crash almost every time.
Screenshots, recording, audio sample, or logs
I checked the relevant documentation, resources, and similar forum posts before posting.
on
I confirm that I did not include API keys, tokens, passwords, secrets, private character data, private conversation logs, or customer data.
on