I'm getting this error:
Code: Select all
Dialogue System: Lua code 'return RandomElement(Variable["Honorifics"])' threw exception 'Tried to invoke a function call on a non-function value. If you're calling a function, is it registered with Lua?'
Screenshots of my setup:



Is there a step I might have skipped, or something I could check? I googled/searched this forum and people who had the similar "Tried to invoke a function..." error seemed to be for custom functions that they would have defined, not built-in ones.
Worth noting that I am using Unity version 2020.2.0b8. I also restarted my Unity project once just in case.
Thanks a lot for any help!