Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem about running UnityChatGPT demo #3

Open
a962097364 opened this issue Jun 17, 2023 · 1 comment
Open

Problem about running UnityChatGPT demo #3

a962097364 opened this issue Jun 17, 2023 · 1 comment

Comments

@a962097364
Copy link

Hello!I try to run the demo of this project. However, when I click ASK CHATGPT, there is an ERROR comes out.

ArgumentNullException: Value cannot be null.
Parameter name: source
System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Boolean& found) (at <93223d662c2546d4b5d1784737504095>:0) System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable1[T] source) (at <93223d662c2546d4b5d1784737504095>:0)
ChatGPTExtensions.CodeCleanUp (ChatGPTResponse chatGPTResponse) (at Assets/Scripts/ChatGPT/Extensions/ChatGPTExtensions.cs:11)
ChatGPTClient+d__1.MoveNext () (at Assets/Scripts/ChatGPT/Client/ChatGPTClient.cs:57)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)

Do you know how to deal with this problem? Thanks a lot!

@Linkersem
Copy link

Hi,have you solved this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants