Log in or register to post comments

Problems with Multiple Virtual Buttons

August 13, 2012 - 2:06pm #1

We are experiencing varius issues with virtual buttons.


The symptoms are one or more of the following:

Button not recognized

Button is automatically activated upon launch of the App

Buttons seem to toggle on and off

Buttons on multiple button builds, toggle between themselves randomly.


We have worked on our marker and made sure that the image areas of the button have plenty of detail. Should we try to make a marker of that that local area and test its readability? Or is the whole marker the key and the marker area is only a measured region of the whole and the image in that area is not that importnat.

Is there any issues related to the distance the camera is away from the marker in Unity? If so, is there any rules to apply here?

Is there dependancy on marker size? Scene size in Unity?

Does scaling the marker or the scene have any bearing on this in unity?

Is it better to use a set scale between Unity/Marker and Real World unit? Such as, use a 1 Unity unit to 1mm. If this is the case, what overall size does Vuforia like, in the Unity environment?  Lets say our scene is 1000 units. Should our marker be 1000?  Should the camera be 1000 units from the marker?

Does a printed marker real world measurement have any influence? Should it be realated to this scale? So if I continue with my example of a marker being 1000 units, should I pring the marker to be a meter wide? what hapens if our graphics go out of this area?

Does the number of pixels of the marker play any factor?

We would very much like to have the ability to have multiple virtual buttons, but we can not get a stable build. 

Any advice would be extremely helpful as wel have client demos all this week.

Feel free to PM me.




Problems with Multiple Virtual Buttons

March 8, 2017 - 11:12pm #4

I have been working on this issue. 

I have updated multiple videos with respective virtual buttons. But now the issue now is, everytime onVirtualButtonPress playing same video for multiple virtual buttons. 

Any suggestions ?

Problems with Multiple Virtual Buttons

August 14, 2012 - 9:55am #3

Let's consolidate these threads - https://ar.qualcomm.at/content/problems-multiple-virtual-buttons-0

Peter's point about the target border is a good one.

See: https://ar.qualcomm.at/developer_guide/AR%20App%20Design%20Guide


Problems with Multiple Virtual Buttons

August 14, 2012 - 9:49am #2


Please make sure your virtual buttons are not near the corner of your target. This may be preventing them for getting recognized. Make sure there is an even distribution of points over the entire target, not just where the virtual buttons will be. You can see the distribution of points in the TMS when creating the target. I hope that helps.

The distance of the Unity AR camera and scale of the Target should not have an effect on how well virtual buttons behave. Also you will want to print out your target in a size such that the entire target fits in the field of view of the devices camera. You will want to print out the target at a high enouph resolution that the device can detect the target.

Thank you,


Log in or register to post comments