Log in or register to post comments

[Error] "Virtual Button area rectangle could not be set." + "Failed to update virtual button VirtualButton at startup"

February 26, 2018 - 2:36am #1

Hello ! 

I'm encountering 2 errors ​related to Virtual Button​ when i press Play​ in Unity editor (tried in 2017.3.1p1 and 2017.3.1f1).

I have already tried to

  • Close and reopen the project Unity
  • Download the latest version of Unity
  • Open a brand new project on Unity 
  • Download Official Vuforia Asset sample from Unity Asset Store ( even in this project the errors appear)
  • Trying different settings of the Virtual Button 
  • Change the Image Target by another 5 stars one.
  • Change the position of the Virtual Button

Here are the full errors messages :



1/ "Failed to update virtual button VirtualButton at startup

UnityEngine.Debug:LogError(Object)

Vuforia.ImageTargetBehaviour:AssociateExistingVirtualButtonBehaviour(VirtualButtonBehaviour)

Vuforia.StateManager:AssociateVirtualButtonBehaviours(VirtualButtonBehaviour[], DataSet)

Vuforia.StateManager:AssociateTrackableBehavioursForDataSet(DataSet)

Vuforia.DataSet:Load(String, StorageType)

Vuforia.DataSet:Load(String)

Vuforia.DatabaseLoadARController:LoadDatasets()

Vuforia.VuforiaARController:Start()

System.Delegate:DynamicInvoke(Object[])

Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])

Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)

Vuforia.VuforiaBehaviour:Start()"

 

2/ "Virtual Button area rectangle could not be set.

UnityEngine.Debug:LogError(Object)

Vuforia.VirtualButton:SetArea(RectangleData)

Vuforia.VirtualButtonBehaviour:UpdateAreaRectangle()

Vuforia.ImageTargetBehaviour:AssociateExistingVirtualButtonBehaviour(VirtualButtonBehaviour)

Vuforia.StateManager:AssociateVirtualButtonBehaviours(VirtualButtonBehaviour[], DataSet)

Vuforia.StateManager:AssociateTrackableBehavioursForDataSet(DataSet)

Vuforia.DataSet:Load(String, StorageType)

Vuforia.DataSet:Load(String)

Vuforia.DatabaseLoadARController:LoadDatasets()

Vuforia.VuforiaARController:Start()

System.Delegate:DynamicInvoke(Object[])

Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])

Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)

Vuforia.VuforiaBehaviour:Start()"



​Even if those errors appear, the Virtual Button seems to work, just I feel like it is hard to click.

If somebody knows how to fix those errors I would be grateful.

Please find attach to this discussion few pictures that highlight the issue.



Thank you,

B.F

AttachmentSize
Image icon errorsUnity.JPG31.87 KB
Image icon UnityVersion.JPG13.91 KB
Image icon VBsettings.JPG164.67 KB

[Error] "Virtual Button area rectangle could not be set." + "Failed to update virtual button VirtualButton at startup"

March 15, 2018 - 4:44am #2

I have the same problem, Virtual Button seem to be appear but the script doesn't work. Do you already find the solution bro?

Log in or register to post comments