Page 1 of 1
SetPortrait not updating the portrait
Posted: Fri May 20, 2022 9:12 pm
by cind7750
Hello, I am new to using dialogue system
I tried to use sequencer command SetPortrait() but the portrait updates after I start the conversation again
there are few more dialogue entries after the entry with the command
Am I doing anything wrong?
Re: SetPortrait not updating the portrait
Posted: Fri May 20, 2022 9:33 pm
by Tony Li
Hi,
That should work. Does the Player actor have two portrait images?
In your conversation, is the Player actor assigned as the conversation's actor? And is the Player actor assigned to all of the dialogue entry nodes that should be spoken by the player?
If so, then is the GameObject that represents the Player actor being used as the Dialogue System Trigger's Conversation Actor? (See
Character GameObject Assignments for details.)
Are there any errors or warnings in the Console window?
Re: SetPortrait not updating the portrait
Posted: Sat May 21, 2022 11:55 am
by cind7750
Hi,
I restarted the project and now it works as intended!
Thanks for helping me though
Re: SetPortrait not updating the portrait
Posted: Sat May 21, 2022 8:28 pm
by Tony Li
I'm glad it's working now. Sounds like the Unity editor had a temporary bug.