Hi Tony,
I'm not sure how I did it but I've managed to break the LUA conditions section of the Dialogue System trigger. Selecting either 'Variable' or 'Custom' from the condition Wizard throws an "Internal error building condition" and doesn't retain anything I enter into the box. In the lead up to this I had been changing functions in a 'MyLuaFunctions' script and I did delete a variable from the Database, so some combination of actions I took must have broken the wizard somehow.
Here's a screenshot of the error I get.
This is the error I get when selecting 'Custom' from the drop down menu. The same error is shown when selecting Variables except the error is "Index was outside the bounds of the array" instead of Object reference missing.
Let me know what else you might need to get to the bottom of this.
Cheers,
Rob
Lua conditions can't be entered: Internal Error Building Condition
Re: Lua conditions can't be entered: Internal Error Building Condition
Hi Rob,
If you restart Unity, does the error persist?
If you restart Unity, does the error persist?
Re: Lua conditions can't be entered: Internal Error Building Condition
It does persist yeah.
Re: Lua conditions can't be entered: Internal Error Building Condition
Would it be possible for you to email a copy of the dialogue database to tony (at) pixelcrushers.com?
Re: Lua conditions can't be entered: Internal Error Building Condition
Hi Tony,
I've sent the email through. Cheers for looking into this for me.
I've sent the email through. Cheers for looking into this for me.
Re: Lua conditions can't be entered: Internal Error Building Condition
(Updating to DS 2.2.14 resolved the issue.)