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

Null reference related to layout rebuilder #64

Closed DylanPipping closed 1 year ago

DylanPipping commented 1 year ago

I'm not sure if any of you are experiencing this but I keep getting a null reference error everytime I click the send button. I'm not sure where the problem is located because when I checked if I have everything correctly it shows that I have and the problem is also not code based as far as I can see, to my knowledge at least.

I just went to my application, then run the start button, go to the NPC and speak to her and then see the error pop up.

Schermafbeelding 2023-06-12 153330

What is supposed to happen is that the character should be responding after the send button is clicked

Schermafbeelding 2023-06-12 153330

Schermafbeelding 2023-06-12 153537

Schermafbeelding 2023-06-12 153631 Schermafbeelding 2023-06-12 153651 Schermafbeelding 2023-06-12 153704

OS: Windows 11 Unity Version 2021.3.20f1 I used the latest version of this plugin for unity

some words in the pictures are dutch

srcnalt commented 1 year ago

Hi @DylanPipping,

The UI provided in the samples are for demonstration purposes and may not work stably. I'd suggest you to develop a solution that suits you game.