"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

ModelTarget BUG

Hi,

i would like to report a serious bug. This has been verified with the asset store modeltargets sample and the latest Hololens ModelTargets beta sample.

When you specify the 3D guide view and override detection position, then the reset tracking button(essentially trying to reset the tracking)  throws  an exception the second time you perform it.

Please fix this is a serious show stopper for Hololens. The error does not happen when a 2d view is used or when the override detection position is not checked.

Thanks

Image removed.

Image removed.

The message is

MissingReferenceException: The object of type 'GuideViewRenderingBehaviour' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. UnityEngine.Component.GetComponentInChildren (System.Type t, Boolean includeInactive) (at C:/buildslave/unity/build/artifacts/generated/Metro/runtime/ComponentBindings.gen.cs:63) UnityEngine.Component.GetComponentInChildren[GuideView2DBehaviour] (Boolean includeInactive) (at C:/buildslave/unity/build/artifacts/generated/Metro/runtime/ComponentBindings.gen.cs:81) Vuforia.GuideViewRenderingBehaviour.GuideViewPropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs e) Vuforia.GuideView.RaisePropertyChanged (System.String propertyName) Vuforia.GuideView.set_Pose (Matrix4x4 value) Vuforia.GuideView3DBehaviour.UpdateDetectionPoseFromMatrix (Matrix4x4 matrix) Vuforia.GuideView3DBehaviour.UpdateGuideViewPose (Matrix4x4 newPose) Vuforia.GuideView3DBehaviour.UpdateView (Vuforia.ModelTargetBehaviour modelTarget, Vuforia.GuideView guideView) Vuforia.GuideViewRenderingBehaviour.CreateGuideView3D (System.String name, UnityEngine.Transform parent) Vuforia.GuideViewRenderingBehaviour.CreateTargetGuideView (System.String guideViewName, Boolean use3DGuideView, UnityEngine.Material guideView2DMaterial) Vuforia.GuideViewRenderingBehaviour.Initialize (Vuforia.ModelTargetBehaviour modelTarget) Vuforia.ModelTargetBehaviour.UpdateGuideViews () Vuforia.ModelTargetBehaviour.OnTrackableEnabledChanged (Boolean trackableEnabled) Vuforia.StateManager.EnableTrackableBehavioursForTrackable (Trackable trackable, Boolean enabled) Vuforia.ObjectTracker.ActivateDataSet (Vuforia.DataSet dataSet) MenuOptions.RestartObjectTracker () (at Assets/Common/MenuOptions.cs:117) UnityEngine.Events.InvokableCall.Invoke () (at C:/buildslave/unity/build/Runtime/Export/UnityEvent.cs:165) UnityEngine.Events.UnityEvent.Invoke () (at C:/buildslave/unity/build/Runtime/Export/UnityEvent_0.cs:58) UnityEngine.UI.Button.Press () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Button.cs:36) UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Button.cs:45) UnityEngine.EventSystems.ExecuteEvents.Execute (IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/ExecuteEvents.cs:50) UnityEngine.EventSystems.ExecuteEvents.Execute[IPointerClickHandler] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.EventFunction`1 functor) (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/ExecuteEvents.cs:261) UnityEngine.EventSystems.EventSystem:Update()

 

Attachment