i am trying to develope an AR app…for andriod and i just create the buttons, to gave some functionalities to my objects based on butttons after tracking the objects…but when i pressed buttons while running it shows the error like…
UnassignedReferenceException: The variable Cube of ImageTargetTrackableEventHandler has not been assigned.
You probably need to assign the Cube variable of the ImageTargetTrackableEventHandler script in the inspector.
ImageTargetTrackableEventHandler.OnGUI () (at Assets/Scripts/ImageTargetTrackableEventHandler.cs:136)
2 Read the error??? It tells you exactly what is wrong. Exactly. What. Is. Wrong.
**
[quote]** UnassignedReferenceException: The variable Cube of ImageTargetTrackableEventHandler has not been assigned. You probably need to assign the Cube variable of the ImageTargetTrackableEventHandler script in the inspector. ImageTargetTrackableEventHandler.OnGUI () (at Assets/Scripts/ImageTargetTrackableEventHandler.cs:136)
**[/quote]
**
Assign the Cube property of your script to a value you need it to be? I guess you didn’t write this script?