Lua Code exception: Object reference not set
Posted: Fri May 26, 2023 2:19 pm
The problem occurs whenever I talk to an NPC. it worked last night, but booting up my project today it is throwing this error, then my dialogue is shutting down complete and no NPC will talk to me. This happens after it tries to set the "Gathering A Team" quest to "active."
The exact language of the error is:
Dialogue System: Lua code 'return CurrentQuestState("Gathering A Team") == "active" and and (Actor["Commoner"].IsRecruited == false)' threw exception 'Object reference not set to an instance of an object'
UnityEngine.Debug:LogError (object)
Not sure what I'm missing.
The exact language of the error is:
Dialogue System: Lua code 'return CurrentQuestState("Gathering A Team") == "active" and and (Actor["Commoner"].IsRecruited == false)' threw exception 'Object reference not set to an instance of an object'
UnityEngine.Debug:LogError (object)
Not sure what I'm missing.