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
Attachment | Size |
---|---|
![]() | 31.87 KB |
![]() | 13.91 KB |
![]() | 164.67 KB |
I have the same problem, Virtual Button seem to be appear but the script doesn't work. Do you already find the solution bro?