I'm getting an error in the mentioned function since the subtitle is null. (Object reference not set to an instance of an object) I've checked that subtitle is indeed null with the debugger.
It keeps going after, but I don't like to have any error
Why might the subtitle be null?
Thanks in advance,
Julen.
Error in ShowResponses()
Re: Error in ShowResponses()
Hi Julen,
Does this happen all the time or only with a specific conversation?
If it's only a specific conversation, at what point in the conversation does it happen?
If it happens at the start of the conversation, make sure the <START> node's Dialogue Text and Menu Text are blank.
There are also updated UI scripts in this post. There's a remote possibility that they might help. Back up your project before importing the package, just to be safe. These scripts will be in version 1.7.7.2.
Please feel free to send a reproduction scene to tony (at) pixelcrushers.com. I'll be happy to take a look.
Does this happen all the time or only with a specific conversation?
If it's only a specific conversation, at what point in the conversation does it happen?
If it happens at the start of the conversation, make sure the <START> node's Dialogue Text and Menu Text are blank.
There are also updated UI scripts in this post. There's a remote possibility that they might help. Back up your project before importing the package, just to be safe. These scripts will be in version 1.7.7.2.
Please feel free to send a reproduction scene to tony (at) pixelcrushers.com. I'll be happy to take a look.
Re: Error in ShowResponses()
Hi Tony, Thanks for answering.
I've tested with multiple conversations, it always gives the same error. Everytime a response menu is in invoked it gives the same error.
I've installed the 1.7.7.2 patch and the error persists.
Responses have no sequence nor condition, <START> node is as it should be.
More information:
Conversations are called with the Adventure Creator custom action
Sadly I'm not able to send you the scene.
Thank you,
Julen.
I've tested with multiple conversations, it always gives the same error. Everytime a response menu is in invoked it gives the same error.
I've installed the 1.7.7.2 patch and the error persists.
Responses have no sequence nor condition, <START> node is as it should be.
More information:
Conversations are called with the Adventure Creator custom action
Sadly I'm not able to send you the scene.
Thank you,
Julen.
Re: Error in ShowResponses()
Problem solved,
Silly me, response buttons had no button component, I've added a button component, linked it into the UI Response Button scripts and works like a charm.
The subtitle error was misleading
Thanks,
Julen.
Silly me, response buttons had no button component, I've added a button component, linked it into the UI Response Button scripts and works like a charm.
The subtitle error was misleading
Thanks,
Julen.
Re: Error in ShowResponses()
I'm glad you got the problem solved! In the next release, I'll make sure it logs a warning if a response button doesn't have a UI Button component.