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

Android build does not work #11

Closed berkingokyolcu closed 1 year ago

berkingokyolcu commented 1 year ago

On Unity, the program works flawless. I tried to build it for android. OpenAI does not answer on apk. Is it because we call ApiKey from our computer? If it is how can i implement api key on script? If it isn't what should i do to make this work?

srcnalt commented 1 year ago

Created a PR for this problem. Not a safe way to use it but helps with it. #12

woelfle2004 commented 1 year ago

Many thanks Sercan for this fast response. I will give it a try this evening. I want to use my app on my own so there should be no safety problem... On the other hand: the user can put his individual ApiKey when he starts the app...

woelfle2004 commented 1 year ago

It works now on Android !!! Brilliant work Sercan, many thanks !!!

srcnalt commented 1 year ago

Great news! Closing the issue then.