# 2023/4/6專題紀錄 ###### tags: `專題會議` * VR 畫面抖動問題 ![](https://i.imgur.com/8v3o3Rf.jpg) * 語音抖動問題推測 * 推測為 async 處理造成的錯誤 ![](https://i.imgur.com/AUGUd9V.png) * Coroutine while 迴圈的問題 * thread 處理不好 * 或 GPU or CPU 效能處理不及 * 問題原因 * 原因確實是 StartListening 跟 StopListening 的問題,原以為是 GPU 問題但開了工作管理員跟 Unity Proflier 後發現 VR 版本本身有簡化所以還好 ![](https://i.imgur.com/2RDqPQa.png) * 因為執行此程式的狀態不是 async ,所以啟動依舊是同步的狀態而不是異步, Unity 無法使用多線程(Mult thread),只支援 Coroutine,但寫純 Coroutine 會有些網路呼叫的程式問題出現 * 總結 * 基本上來說,整個 VoiceSystem 使用到 async 的地方都要重寫,目前打算用 UniTask 去解決 * 參考資料 https://blog.csdn.net/avi9111/article/details/121753627 https://blog.csdn.net/Monkey_Xuan/article/details/114928662 https://blog.csdn.net/avi9111/article/details/121753627 https://medium.com/dream-harvesters-team/unirx-vs-unitask-3c009d5ae076 https://zhuanlan.zhihu.com/p/572670728 https://blog.csdn.net/farcor_cn/article/details/119494954 https://dev.twsiyuan.com/2017/05/unity-coroutine.html