Lua conditions can't be entered: Internal Error Building Condition

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
rykaan
Posts: 75
Joined: Tue Feb 11, 2020 6:22 am

Lua conditions can't be entered: Internal Error Building Condition

Post by rykaan »

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.
Broken Lua conditions.jpg
Broken Lua conditions.jpg (271.11 KiB) Viewed 258 times
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
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Lua conditions can't be entered: Internal Error Building Condition

Post by Tony Li »

Hi Rob,

If you restart Unity, does the error persist?
User avatar
rykaan
Posts: 75
Joined: Tue Feb 11, 2020 6:22 am

Re: Lua conditions can't be entered: Internal Error Building Condition

Post by rykaan »

It does persist yeah.
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Lua conditions can't be entered: Internal Error Building Condition

Post by Tony Li »

Would it be possible for you to email a copy of the dialogue database to tony (at) pixelcrushers.com?
User avatar
rykaan
Posts: 75
Joined: Tue Feb 11, 2020 6:22 am

Re: Lua conditions can't be entered: Internal Error Building Condition

Post by rykaan »

Hi Tony,

I've sent the email through. Cheers for looking into this for me.
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Lua conditions can't be entered: Internal Error Building Condition

Post by Tony Li »

(Updating to DS 2.2.14 resolved the issue.)
Post Reply