Skip to content

Problem about running UnityChatGPT demo #3

Description

@a962097364

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions