srcnalt / OpenAI-Unity

An unofficial OpenAI Unity Package that aims to help you use OpenAI API directly in Unity Game engine.
MIT License
672 stars 150 forks source link

"No text was generated from this prompt" on Quest 2 VR device #19

Closed CadencePr closed 1 year ago

CadencePr commented 1 year ago

Thank you for sharing a fantastic project! I was able to make it run well on the Unity editor. However, when it runs on Meta Quest 2 device (Android), I always get "No text was generated from this prompt." Double-checked API Keys and internet access permission but found no issues. (When I intentionally put the wrong API key, it gives me an API key error. Also, other components in my app require internet access and work well) Any suggestions would be appreciated!

srcnalt commented 1 year ago

Hi @CadencePr, have you checked if the same prompt gave you the result in the editor? The message is from OpenAI API itself it seems, my only guess is it got stuck in OpenAI filters. Even empty prompts get replies usually.