Log in or register to post comments

Virtual Button Issues

June 28, 2016 - 1:27am #1

Hello everyone,

I've got a problem using virtual buttons in unity. I created a custom taget and changed the xml-file as described in the 'How to Implement Virtual Buttons' article.

The Buttons doesn't work and the console shows the attached Warning 'invalid rectangle attribute'. Are my coordinates set wrongly?

Does anyone has an idea what I am doing wrong?

 

Thanks!

Greetings,

Jan

AttachmentSize
Image icon xml_error.PNG24.27 KB
Image icon xml_error2.PNG27.3 KB

Virtual Button Issues

June 28, 2016 - 10:47pm #3

The config parser is a bit sensitive to white spaces inside the string values, so just make sure to remove any unnecessary blanks, for example:

rectangle=   "  0.06, ..."

should be rewritten as:

rectangle="0.06, ..."  (without spaces)

 

 

 

Virtual Button Issues

June 28, 2016 - 5:13pm #2

Hello,

I cannot see any obvious errors in your syntax. Can you please provide:

  • The version of the Vuforia Unity Extension that you're using
  • The version of the Unity Editor that you're using

Thanks

Log in or register to post comments