Glitch9Inc / Glitch9-Support

GNU General Public License v3.0
0 stars 0 forks source link

[AIDevelopmentKit] Parameter name: _unity_self #28

Open Glitch9Inc opened 2 months ago

Glitch9Inc commented 2 months ago
          Hi @Glitch9Inc thank you for the corrections, the first time I run the assistant works great, second time I get an error:

Parameter name: _unity_self UnityEngine.Debug:LogError (object) Glitch9.GNLog:ContinueWithLogger (Glitch9.LogType,object,string,string,string) (at Assets/Glitch9/CoreLib/System/Internal/Logger/GNLog/GNLog.cs:111) Glitch9.GNLog:Error (string,object,string,string) (at Assets/Glitch9/CoreLib/System/Internal/Logger/GNLog/GNLog.Client.cs:49) Glitch9.GNLogger:Error (object,string) (at Assets/Glitch9/CoreLib/System/Internal/Logger/Shared/GNLogger.cs:35) Glitch9.IO.RESTApi.CRUDLogger:Error (object,string) (at Assets/Glitch9/CoreLib.IO/RESTApi/CRUD/CRUDLogger.cs:133) Glitch9.IO.RESTApi.CRUDLogger:Error (string) (at Assets/Glitch9/CoreLib.IO/RESTApi/CRUD/CRUDLogger.cs:118) Glitch9.IO.RESTApi.CRUDClient`1:HandleException (System.Exception) (at Assets/Glitch9/CoreLib.IO/RESTApi/CRUD/CRUDClient.cs:375)

[OpenAI] https://api.openai.com/v1/threads/thread_RLMuQlBVVE3sPmaXavqjFOyN/runs: System.ArgumentNullException: Value cannot be null. Parameter name: _unity_self at (wrapper managed-to-native) UnityEngine.Networking.UnityWebRequest.get_result(UnityEngine.Networking.UnityWebRequest) at UnityEngine.Networking.UnityWebRequest.get_isDone () [0x00001] in <24742fb00395475fa5aa0125c4f939a5>:0

[AssistantsAPI-v2] The Assistants API is ready. (Assistant Status: WaitingForInput) (Assistant Status: WaitingForInput) UnityEngine.Debug:Log (object)

Originally posted by @JBlakeMCAA in https://github.com/Glitch9Inc/Glitch9-Support/issues/27#issuecomment-2214917470

Glitch9Inc commented 2 months ago

The 'Parameter name: _unity_self' issue is probably the known issue with Unity related to a corrupted object existing in the scene. To resolve this, you'll need to recreate the corrupted object with a new one. It sometimes fixes itself after reopening Unity Editor. Let me know if the issue persist after trying recreating objects.