Hi Tony,
I'm not sure what I changed but for some reason most of my actor's portraits are no longer displaying on screen.
The actors all have portraits set up like this.
I use the SetPortrait sequencer command to assign portraits.
This command works:
However, this one doesn't.
Opening the portrait from the Editor window seems to indicate that the command hasn't gone through (shows a blank image), but I changed the actor name to somethiing wrong just to check, and it returned an error, so I'm pretty sure the sequencer is doing something.
Everything was running as expected a couple of weeks ago and I'm fairly certain I haven't changed anything within these conversations, so I'm not sure what's going on.
Would you have any idea as to where to start debugging?
Actor Portrait not Displaying
Re: Actor Portrait not Displaying
Hi,
You could try setting the Dialogue Manager GameObject's Other Settings > Debug Level to Info. This will log info to the Console, including details when the SetPortrait() sequencer command runs.
Also make sure the correct dialogue database is assigned to your Dialogue Manager's Initial Database field.
If that doesn't help, can you send a reproduction project to tony (at) pixelcrushers.com?
Or you could open Sequencer.cs in your code editor, put a breakpoint in the HandleSetPortraitInternally() method, and step through it to see what's going on.
You could try setting the Dialogue Manager GameObject's Other Settings > Debug Level to Info. This will log info to the Console, including details when the SetPortrait() sequencer command runs.
Also make sure the correct dialogue database is assigned to your Dialogue Manager's Initial Database field.
If that doesn't help, can you send a reproduction project to tony (at) pixelcrushers.com?
Or you could open Sequencer.cs in your code editor, put a breakpoint in the HandleSetPortraitInternally() method, and step through it to see what's going on.
-
- Posts: 111
- Joined: Mon Apr 08, 2019 8:01 am
Re: Actor Portrait not Displaying
Hi Tony,
Thanks for this - it turns out the actors in the conversation got switched around somehow so it was the player talking.
Hope you have a safe and happy new year!
Thanks for this - it turns out the actors in the conversation got switched around somehow so it was the player talking.
Hope you have a safe and happy new year!
Re: Actor Portrait not Displaying
Glad you got it working! Happy New Year!