Main Character in the Environment object is invalid or not set!

Original Discord Post by selmaaaaah | 2024-04-26 19:24:43

Hi guys! I keep getting this error in the Start Talking function with Generate Actions and Voice response, even after setting main character according to the Docs.

ConvaiChatbotComponentLog: Warning: StartGetResponseStream: ConvaiActions: Main Character in the Environment object is invalid or not set! Please set it using “Set Main Character” function and use the player pawn as input
ConvaiChatbotComponentLog: StartGetResponseStream: Environment object seems to have issues → setting GenerateActions to false

The Invoke Speech works.
Does anyone know how I can fix it?

Replying to selmaaaaah’s Message

Reply by selmaaaaah | 2024-04-26 19:24:43
Hi guys! I keep getting this error in the Start Talking function with Generate Actions and Voice response, even after setting main character according to the Docs.

ConvaiChatbotComponentLog: Warning: StartGetResponseStream: ConvaiActions: Main Character in the Environment object is invalid or not set! Please set it using “Set Main Character” function and use the player pawn as input
ConvaiChatbotComponentLog: StartGetResponseStream: Environment object seems to have issues → setting GenerateActions to false

The Invoke Speech works.
Does anyone know how I can fix it?

Reply by chris123d | 2024-04-27 02:03:31

did you set the player character to convaiPlayer?

Reply by freezfast | 2024-04-27 04:55:25

Make sure to name the Main character as well

Reply by selmaaaaah | 2024-04-27 07:43:29

Thank you, naming the main character fixed it.

This conversation happened on the Convai Discord Server, so this post will be closed.