Response buttons not working


(Giuseppe Villella) #1

Here is the console message:

NullReferenceException: Object reference not set to an instance of an object
VinomaEngine.VinomaGUI.ShowButtons (VinomaEngine.VinomaButtonDef[] defs, Int32 defaultButtonIdx, Single buttonsTimeout, System.Action callback) (at D:/Work/_SOURCE/VinomaEngine/VinomaGUI.cs:462)
VinomaEngine.VA_Buttons.Run () (at D:/Work/_SOURCE/VinomaEngine/Actions/VA_Buttons.cs:34)
VinomaEngine.VinomaAction.RunAction () (at D:/Work/_SOURCE/VinomaEngine/Actions/VinomaAction.cs:63)
VinomaEngine.VinomaAction.Done () (at D:/Work/_SOURCE/VinomaEngine/Actions/VinomaAction.cs:121)
VinomaEngine.VA_Wait.Update () (at D:/Work/_SOURCE/VinomaEngine/Actions/VA_Wait.cs:50)
VinomaEngine.VinomaScene.Update () (at D:/Work/_SOURCE/VinomaEngine/VinomaScene.cs:88)
VinomaEngine.VinomaSceneController.Update () (at D:/Work/_SOURCE/VinomaEngine/VinomaSceneController.cs:193)


(Leslie Young) #2

If you edited those buttons you need to make updates to the “Response Buttons” array in the VinomaGUI object (In Inspector). make sure there are no null/empty entries there.